03 2022 档案

摘要:using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; #if DEBUG //DEBUG模式下 usin 阅读全文
posted @ 2022-03-09 09:55 百年一梦 阅读(489) 评论(0) 推荐(0) 编辑
摘要://加下多个实体,获取所有实体矩形边界,获取边界点截图 public void SnapShot(List<Entity> entities ,string name) { Document doc = Application.DocumentManager.MdiActiveDocument; E 阅读全文
posted @ 2022-03-07 09:09 百年一梦 阅读(555) 评论(0) 推荐(0) 编辑
摘要:[CommandMethod("TESTIMAGE")] public void TSTImage() { Document doc = Application.DocumentManager.MdiActiveDocument; Editor ed = Application.DocumentMa 阅读全文
posted @ 2022-03-06 11:08 百年一梦 阅读(431) 评论(0) 推荐(0) 编辑
摘要:1、对象初始化时绑定处理事件 1 Application.PreTranslateMessage += new PreTranslateMessageEventHandler(Application_PreTranslateMessage); 2、事件处理 1 /// <summary> 2 /// 阅读全文
posted @ 2022-03-03 09:48 百年一梦 阅读(773) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2022-03-03 09:26 百年一梦 阅读(309) 评论(0) 推荐(0) 编辑
摘要:1 private List<Curve> GetCurveFromView() { 2 List<Curve> curves = new List<Curve>(); 3 ViewTableRecord viewTableRecord = ed.GetCurrentView(); 4 double 阅读全文
posted @ 2022-03-03 09:18 百年一梦 阅读(604) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示