摘要:
1 public static void RemoveXData(Entity EntObject, string XDataName) 2 { 3 Editor ed = Application.DocumentManager.MdiActiveDocument.Editor; 4 Database db = HostApplicationServices.WorkingDatabase; 5 6 using (DocumentLock docLock = Autodesk.AutoC... 阅读全文
摘要:
ViewTableRecord viewTableRecord = ed.GetCurrentView();viewTableRecord.CenterPoint = new Point2d() ;viewTableRecord.Height =h;viewTableRecord.Width =w;ed.SetCurrentView(viewTableRecord);Autodesk.AutoCAD.ApplicationServices.Application.UpdateScreen(); 阅读全文