博客园 - Cad人生
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=135018
2021-12-10T10:09:07Z
Cad人生
https://www.cnblogs.com/cadlife/
feed.cnblogs.com
https://www.cnblogs.com/cadlife/p/4034564.html
VS2010 项目属性的默认包含路径设置方法 - Cad人生
VS2010 项目属性的默认包含路径设置方法分类:c++小技巧2014-01-10 10:161358人阅读评论(0)收藏举报c++有两种方法可以设置vs2010的默认包含路径方法一:点击“视图->属性管理器”,在打开的属性管理器中选择Microsoft.Cpp.Win32.user打开打开后将出现...
2014-10-19T04:39:00Z
2014-10-19T04:39:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】VS2010 项目属性的默认包含路径设置方法分类:c++小技巧2014-01-10 10:161358人阅读评论(0)收藏举报c++有两种方法可以设置vs2010的默认包含路径方法一:点击“视图->属性管理器”,在打开的属性管理器中选择Microsoft.Cpp.Win32.user打开打开后将出现... <a href="https://www.cnblogs.com/cadlife/p/4034564.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/4027660.html
VC++的全局变量(转) - Cad人生
全局变量一般这样定义:1。在一类的.cpp中定义 int myInt;然后再在要用到的地方的.cpp里extern int myInt;这样就可以用了。2。在stdafx.cpp中加入:int myInt;然后在stdafx.h中加入:extern int myInt这样定义以后无论在什么文件中都是...
2014-10-15T14:56:00Z
2014-10-15T14:56:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】全局变量一般这样定义:1。在一类的.cpp中定义 int myInt;然后再在要用到的地方的.cpp里extern int myInt;这样就可以用了。2。在stdafx.cpp中加入:int myInt;然后在stdafx.h中加入:extern int myInt这样定义以后无论在什么文件中都是... <a href="https://www.cnblogs.com/cadlife/p/4027660.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3557428.html
调用文字在位编辑器 - Cad人生
示例为修改多行文字的高宽比public static void ChangeMtextWidthFactor(ObjectId mtextId,double widthFactor) { if(mtextId==null ||mtextId==ObjectId.Null) return ; using (Transaction trx = ZMQCad.ApplicationServicesEx.Var.ActiveDatabase.TransactionManager.StartTransactio...
2014-02-20T05:07:00Z
2014-02-20T05:07:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】示例为修改多行文字的高宽比public static void ChangeMtextWidthFactor(ObjectId mtextId,double widthFactor) { if(mtextId==null ||mtextId==ObjectId.Null) return ; using (Transaction trx = ZMQCad.ApplicationServicesEx.Var.ActiveDatabase.TransactionManager.StartTransactio... <a href="https://www.cnblogs.com/cadlife/p/3557428.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3510517.html
程序移植到AUTOCAD2013笔记 - Cad人生
1:需要引用acmgd.dll acdbmgd.dll,AcCoreMdg.dll, accui.dll 四个dll 2: 2010下的的acmgd.dll被拆分为acmgd.dll和AcCoreMdg.dll两个文件, 其中AcCoreMdg.dll存储核心方法,acmgd.dll存储扩展方法;
2014-01-08T05:39:00Z
2014-01-08T05:39:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】1:需要引用acmgd.dll acdbmgd.dll,AcCoreMdg.dll, accui.dll 四个dll 2: 2010下的的acmgd.dll被拆分为acmgd.dll和AcCoreMdg.dll两个文件, 其中AcCoreMdg.dll存储核心方法,acmgd.dll存储扩展方法; <a href="https://www.cnblogs.com/cadlife/p/3510517.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3507937.html
求无向图中任意两点的所有路径 - Cad人生
http://files.cnblogs.com/cadlife/ShowAllPath.7z求管道的最不利点需要用到这个.
2014-01-06T13:58:00Z
2014-01-06T13:58:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】http://files.cnblogs.com/cadlife/ShowAllPath.7z求管道的最不利点需要用到这个. <a href="https://www.cnblogs.com/cadlife/p/3507937.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3499923.html
AutoCAD DevTV-AUTOCAD二次开发资源合集 - Cad人生
WebcastLanguageDateAutoCAD .Net - Session 2English13-Sep-12AutoCAD .Net - Session 1English6-Sep-12AutoCAD APIChinese25-Apr-12DevTV: AutoCAD .Net API - Chinese - Part 1Chinese6-Apr-12DevTV: AutoCAD .Net API - Chinese - Part 2Chinese6-Apr-12AutoCAD .NET - Session 8English27-Oct-11AutoCAD .NET - Sessio
2013-12-31T10:45:00Z
2013-12-31T10:45:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】WebcastLanguageDateAutoCAD .Net - Session 2English13-Sep-12AutoCAD .Net - Session 1English6-Sep-12AutoCAD APIChinese25-Apr-12DevTV: AutoCAD .Net API - Chinese - Part 1Chinese6-Apr-12DevTV: AutoCAD .Net API - Chinese - Part 2Chinese6-Apr-12AutoCAD .NET - Session 8English27-Oct-11AutoCAD .NET - Sessio <a href="https://www.cnblogs.com/cadlife/p/3499923.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3499005.html
二次开发中cad字体的总结 - Cad人生
目前手头一个项目,关于制图统一平台的,特别研究了CAD中的字体,总结出来,给需要的朋友,希望少走弯路。1.cad2008中,netload之后,输入注册的命令,提示未知命令解决:将引用中CAD两个dll,复制到本地设置为false2. CAD中含文字的对象包括:单行文本,多行文本,属性定义,属性参照,标注,块参照(注意块参照中可以包含前面所有对象)对应的过滤器为 TypedValue value1 = new TypedValue((int)DxfCode.Start, "text,mtext,attdef,attrib,Dimension,INSERT");3. 从一个文
2013-12-31T03:19:00Z
2013-12-31T03:19:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】目前手头一个项目,关于制图统一平台的,特别研究了CAD中的字体,总结出来,给需要的朋友,希望少走弯路。1.cad2008中,netload之后,输入注册的命令,提示未知命令解决:将引用中CAD两个dll,复制到本地设置为false2. CAD中含文字的对象包括:单行文本,多行文本,属性定义,属性参照,标注,块参照(注意块参照中可以包含前面所有对象)对应的过滤器为 TypedValue value1 = new TypedValue((int)DxfCode.Start, "text,mtext,attdef,attrib,Dimension,INSERT");3. 从一个文 <a href="https://www.cnblogs.com/cadlife/p/3499005.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3463337.html
双击CAD对象,显示自定义对话框实现方法 - Cad人生
class TlsApplication : IExtensionApplication { void IExtensionApplication.Initialize() { TTest.Start(); } void IExtensionApplication.Terminate() { } } class TTest { static bool m_Veto = false; public static void Start() { Application.DocumentManager.DocumentLockModeChanged += new DocumentLockModeCh.
2013-12-07T14:22:00Z
2013-12-07T14:22:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】class TlsApplication : IExtensionApplication { void IExtensionApplication.Initialize() { TTest.Start(); } void IExtensionApplication.Terminate() { } } class TTest { static bool m_Veto = false; public static void Start() { Application.DocumentManager.DocumentLockModeChanged += new DocumentLockModeCh. <a href="https://www.cnblogs.com/cadlife/p/3463337.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3462178.html
C# FileStream MemoryStream BufferedStream StreamReader StreamWriter - Cad人生
FileStream读取文件FileStream file =File.Open(@"F:\file.txt",FileMode.Open);//初始化文件流byte[] array =newbyte[file.Length];//初始化字节数组file.Read(array,0, array.Length);//读取流中数据把它写到字节数组中file.Close();//关闭流string str =Encoding.Default.GetString(array);//将字节数组内容转化为字符串Console.WriteLine(str); FileStream写入文件
2013-12-06T13:55:00Z
2013-12-06T13:55:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】FileStream读取文件FileStream file =File.Open(@"F:\file.txt",FileMode.Open);//初始化文件流byte[] array =newbyte[file.Length];//初始化字节数组file.Read(array,0, array.Length);//读取流中数据把它写到字节数组中file.Close();//关闭流string str =Encoding.Default.GetString(array);//将字节数组内容转化为字符串Console.WriteLine(str); FileStream写入文件 <a href="https://www.cnblogs.com/cadlife/p/3462178.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3459842.html
CAD启动提示"是否关闭命令行"不管点击什么,都会闪退的解决办法 - Cad人生
AutoCAD splash screen starts up and then closes AutoCAD splash screen starts up and then closes (Standalone) Issue When running the software, it becom
2013-12-05T08:33:00Z
2013-12-05T08:33:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】AutoCAD splash screen starts up and then closes AutoCAD splash screen starts up and then closes (Standalone) Issue When running the software, it becom <a href="https://www.cnblogs.com/cadlife/p/3459842.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/cadlife/p/3266057.html
C#里面中将字符串转为变量名 - Cad人生
public partial class Form1 : Form { string str = "spp"; public string spp = "very good"; public Form1() { InitializeComponent(); MessageBox.Show(this.GetType().GetField(str).GetValue(this).ToString()); } }
2013-08-18T07:49:00Z
2013-08-18T07:49:00Z
Cad人生
https://www.cnblogs.com/cadlife/
【摘要】public partial class Form1 : Form { string str = "spp"; public string spp = "very good"; public Form1() { InitializeComponent(); MessageBox.Show(this.GetType().GetField(str).GetValue(this).ToString()); } } <a href="https://www.cnblogs.com/cadlife/p/3266057.html" target="_blank">阅读全文</a>