欢迎加我的QQ群:193522571,一起来讨论、交流!

随笔分类 -  AutoCAD应用

摘要:AutoCAD2004 R16.0AutoCAD2005 R16.1AutoCAD2006 R16.2AutoCAD2007 R17.0AutoCAD2008 R17.1AutoCAD2009 R17.2AutoCAD2010 R18.0AutoCAD2011 R18.1AutoCAD2012 R1 阅读全文
posted @ 2019-12-26 13:47 swtool 阅读(242) 评论(0) 推荐(0) 编辑
摘要:this.DoubleBuffered = true;//设置本窗体 SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); // 禁止擦除背景. SetStyle(Co 阅读全文
posted @ 2019-12-01 15:35 swtool 阅读(202) 评论(0) 推荐(0) 编辑
摘要:AutoCAD 幻灯片文件是由 MSLIDE 命令写入并由 VSLIDE 命令读取的屏幕图像。 本节介绍幻灯文件的格式,以便于希望在程序中融入幻灯支持的开发人员进行开发。 幻灯文件由标题部分(31 字节)以及一个或多个可变长度的数据记录组成。 写入幻灯文件的所有坐标和大小都基于创建幻灯时显示设备的图 阅读全文
posted @ 2019-09-23 10:27 swtool 阅读(453) 评论(0) 推荐(0) 编辑
摘要://dimadec 1.使用 dimdec 设置的小数位数绘制角度标注;0-8 使用 dimadec 设置的小数位数绘制角度标注。 //dimalt 控制标注中换算单位的显示:关.禁用换算单位 开.启用换算单位 //dimaltd 控制换算单位中小数位的位数。 //dimaltf 控制换算单位乘数。 阅读全文
posted @ 2019-09-03 10:07 swtool 阅读(1233) 评论(0) 推荐(0) 编辑
摘要:public void Kill(string filePath) { var wmiQueryString = "SELECT ProcessId, ExecutablePath, CommandLine FROM Win32_Process"; using (var searcher = new ManagementObje... 阅读全文
posted @ 2019-08-02 16:05 swtool 阅读(1131) 评论(0) 推荐(0) 编辑
摘要:网上查了,有各种所谓的注册表修改的办法,但是发现我的注册表根本不用修改,因为和他们说的要修改的一样,这就尴尬了。后来终于找到方法了,其实就是为了解决VBA开发的公用库问题,安装CAD2007后它将原来office2007中的比较新的公用库文件覆盖成老的库文件了,所以只需要将VBA的几个库文件覆盖成新 阅读全文
posted @ 2018-11-18 12:12 swtool 阅读(6418) 评论(2) 推荐(1) 编辑
摘要:if (text.HorizontalMode == TextHorizontalMode.TextLeft && text.VerticalMode == TextVerticalMode.TextBase) { // use Position } else { // use AlignmentPoint } if (text.Justify == Attac... 阅读全文
posted @ 2018-01-19 21:04 swtool 阅读(250) 评论(0) 推荐(0) 编辑
摘要:using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.EditorInput; [assembly: CommandClass(typeof(Command 阅读全文
posted @ 2018-01-14 14:47 swtool 阅读(222) 评论(0) 推荐(0) 编辑
摘要:关于.NET中的反射,常用的有三个方法: Assembly.Load()Assembly.LoadFrom()Assembly.LoadFile() 下面说说这三个方法的区别和一些细节问题 1. Assembly.Load() 简介 Load()方法接收一个String或AssemblyName类型 阅读全文
posted @ 2017-06-28 16:30 swtool 阅读(407) 评论(0) 推荐(0) 编辑
摘要:ARC Arc Arc ARC; ATTDEF AttributeDefinition AttributeDefinition ATTDEF; ATTRIB AttributeReference AttributeReference ATTRIB; CIRCLE Circle Circle CIRC 阅读全文
posted @ 2016-04-19 09:31 swtool 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-07-12 22:32 swtool 阅读(1008) 评论(0) 推荐(0) 编辑
摘要:一、CACHEMAXFILES (系统变量)设置为产品保存的图形缓存文件的最大数量。 类型: 整数 保存位置: 注册表 初始值: 256 有效范围为从 0 到 65535 个文件。 当图形缓存文件的数量达到最大时,将自动删除缓存中最早的文件。将此变量设定为 0(零)可完全禁用缓存,并删除任何不在打开... 阅读全文
posted @ 2014-04-16 21:22 swtool 阅读(430) 评论(0) 推荐(0) 编辑
摘要:http://jingyan.baidu.com/article/ce436649f812593773afd3df.html 阅读全文
posted @ 2014-04-11 10:27 swtool 阅读(449) 评论(0) 推荐(0) 编辑

欢迎加我的QQ群:193522571,一起来讨论、交流!
点击右上角即可分享
微信分享提示