摘要:
[CommandMethod("TESTIMAGE")] public void TSTImage() { Document doc = Application.DocumentManager.MdiActiveDocument; Editor ed = Application.DocumentMa 阅读全文
摘要:
1、对象初始化时绑定处理事件 1 Application.PreTranslateMessage += new PreTranslateMessageEventHandler(Application_PreTranslateMessage); 2、事件处理 1 /// <summary> 2 /// 阅读全文
摘要:
1、自定义靶框对象 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 //CAD开发库 8 阅读全文
摘要:
1 private List<Curve> GetCurveFromView() { 2 List<Curve> curves = new List<Curve>(); 3 ViewTableRecord viewTableRecord = ed.GetCurrentView(); 4 double 阅读全文