public static void FindAndZoomObject(String Handle)
{
...
long ln = Convert.ToInt64(Handle, 16);
// Not create a Handle from the long integer
hn = new Handle(ln);
// And attempt to get an ObjectId for the Handle
id = db.GetObjectId(false, hn, 0);
....
// Здесь начинается выбор элемента на экране
ObjectId[] idarr = new ObjectId[1];
idarr[0] = id;
DocumentLock lockDoc = doc.LockDocument();
using (lockDoc)
{
// SetFocusToActiveDocument();
// Autodesk.AutoCAD.Internal.Utils.SelectObjects(idarr);
ed.SetImpliedSelection(idarr);
ed.UpdateScreen();
// SetFocusToActiveDocument();
}
}//func