摘要: 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... 阅读全文
posted @ 2011-11-09 11:04 hunklee 阅读(309) 评论(0) 推荐(0) 编辑
摘要: ViewTableRecord viewTableRecord = ed.GetCurrentView();viewTableRecord.CenterPoint = new Point2d() ;viewTableRecord.Height =h;viewTableRecord.Width =w;ed.SetCurrentView(viewTableRecord);Autodesk.AutoCAD.ApplicationServices.Application.UpdateScreen(); 阅读全文
posted @ 2011-11-09 10:28 hunklee 阅读(1135) 评论(0) 推荐(0) 编辑