11 2009 档案

摘要:躺在被窝看蜗居,一连看到大结局,饿了揪把馒头,咽不下去吃点咸菜,我一边吃馒头,一边吃咸菜,一把抹鼻涕,一把抹眼泪 阅读全文
posted @ 2009-11-30 17:30 houlinbo 阅读(273) 评论(0) 推荐(0)
摘要:/// <summary> /// 交互得到另一点 // houlinbo QQ420021327 /// </summary> /// <returns></returns> public static PromptPointResult SelectOtherPt(string strMsg, Point3d pt) { Document doc... 阅读全文
posted @ 2009-11-26 12:57 houlinbo 阅读(512) 评论(0) 推荐(0)
摘要://定义事件 Editor ed = doc.Editor; ed.PointMonitor += new PointMonitorEventHandler(ed_PointMonitor); //事件执行函数 void ed_PointMonitor(object sender, PointMonitorEventArgs e) { //拾取当前实体对象提交 FullSubentityPath[... 阅读全文
posted @ 2009-11-26 12:55 houlinbo 阅读(727) 评论(0) 推荐(0)
摘要:无法加载程序集。错误详细信息: Autodesk.AutoCAD.Runtime.Exception: eDuplicateKey 在 Autodesk.AutoCAD.Runtime.Interop.Check(Int32 returnValue) 在 AcMgCommandClass.AddCommand(AcMgCommandClass* , ICommandLineCallable ca,... 阅读全文
posted @ 2009-11-25 16:27 houlinbo 阅读(5006) 评论(1) 推荐(0)
摘要://将选中实体的指定扩展数据名删除 public void SetNoLinkWire() { short iColor = 2; Document doc = Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; Editor ed = doc.Editor; Transaction tr = db... 阅读全文
posted @ 2009-11-24 11:53 houlinbo 阅读(560) 评论(0) 推荐(0)
摘要:GetBoundingBox 提示范围无效时先查看一下字体是否缺少 阅读全文
posted @ 2009-11-11 20:43 houlinbo 阅读(826) 评论(0) 推荐(0)
摘要:用CAD复制命令复制 匿名块名不变, 用Ctrl+C Ctrl+V 匿名块名改变 阅读全文
posted @ 2009-11-11 20:42 houlinbo 阅读(1221) 评论(0) 推荐(0)
摘要://导出到EXCEL public bool toOutExcel(DataGridView dg, string fileName) { SaveFileDialog dlg = new SaveFileDialog(); dlg.Filter = "Excel files (*.xls)|*.xls|All files (*.*)|*.*"; dlg.FilterIndex = 1; dlg.... 阅读全文
posted @ 2009-11-11 20:39 houlinbo 阅读(641) 评论(0) 推荐(0)