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

06 2014 档案

摘要:static void swtArxProject5plcopy(void) { // Add your code for command swtArxProject5.plcopy here //定义对象名和点 ads_name ename;ads_... 阅读全文
posted @ 2014-06-29 23:04 swtool 阅读(941) 评论(1) 推荐(0) 编辑
摘要:AcDbObjectId PostToModelSpace(AcDbEntity *pEnt){ //定义块表 AcDbBlockTable *pBlk; acdbHostApplicationServices()->workingDatabase()->getSymbolTabl... 阅读全文
posted @ 2014-06-29 23:02 swtool 阅读(313) 评论(0) 推荐(0) 编辑
摘要:http://zhidao.baidu.com/link?url=qSPTMAXyvV02Gd5HHOwQgshdu6zJ_Js3hBFkBiIZ5FNY4bOq8prmnro9kKpxkNhgV6ktuMl3Ocb4uYMBZxqz7q 阅读全文
posted @ 2014-06-29 20:44 swtool 阅读(436) 评论(0) 推荐(0) 编辑
摘要:static void swtArxProject5readdwg(void) { // Add your code for command swtArxProject5.readdwg here //打开测试文件test.dwg AcDbDa... 阅读全文
posted @ 2014-06-29 14:03 swtool 阅读(1743) 评论(0) 推荐(0) 编辑
摘要:static void swtArxProject5createLine(void) { // Add your code for command swtArxProject5.createLine here //创建新的CAD数据库 AcDb... 阅读全文
posted @ 2014-06-29 14:01 swtool 阅读(761) 评论(0) 推荐(0) 编辑
摘要:初学ARX的人可能会遇到此问题,ObjectARX 2010必须在VS2008SP1中安装,默认安装完后是没有中文包的,所以显示的工具条是空的,且只有第1个按钮可以用,如果你的问题是这样的,那么你就不会像我一样走弯路了,请到下面的地址中去找中文包附件下载后复制到下面的地址中:链接: http://p... 阅读全文
posted @ 2014-06-29 13:53 swtool 阅读(798) 评论(0) 推荐(0) 编辑
摘要:public void deleteDimension() { //定义数据库 Database db = HostApplicationServices.WorkingDatabase; //获取当前文... 阅读全文
posted @ 2014-06-26 14:16 swtool 阅读(1181) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-06-22 08:37 swtool 阅读(308) 评论(1) 推荐(0) 编辑
摘要:1.新建一数据表,里面有字段id,将id设为为主键代码如下:create table tb(id int,constraint pkid primary key (id)) create table tb(id int primary key )2.新建一数据表,里面有字段id,将id设为主键且自动... 阅读全文
posted @ 2014-06-18 16:06 swtool 阅读(4159) 评论(0) 推荐(0) 编辑
摘要://即时显示文字 doc.TransactionManager.EnableGraphicsFlush(true); //此处写入TEXT //即时显示文字 ... 阅读全文
posted @ 2014-06-10 11:51 swtool 阅读(253) 评论(0) 推荐(0) 编辑
摘要:cad.net添加和删除图层过滤器 using Autodesk.AutoCAD.ApplicationServices;using Autodesk.AutoCAD.DatabaseServices;using Autodesk.AutoCAD.EditorInput;using Autodesk... 阅读全文
posted @ 2014-06-05 19:18 swtool 阅读(382) 评论(0) 推荐(0) 编辑
摘要:/// /// 从句柄转换成ObjectId /// Version : 2010.03.29 Sieben /// /// 句柄,可以是Handle,string,int,long数据类型 /// 成功返回句柄所对应的ObjectId,否则返回Object... 阅读全文
posted @ 2014-06-05 18:31 swtool 阅读(1040) 评论(1) 推荐(1) 编辑
摘要:#region 写行号事件 //在DataGridView控件上选择RowPostPaint事件 private void dgvJointList_RowPostPaint(object sender, DataGridViewRowPostPaintE... 阅读全文
posted @ 2014-06-05 16:03 swtool 阅读(3662) 评论(0) 推荐(0) 编辑
摘要:checkbox,button,imagebutton使用dataGridView1_CellContentClick private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArg... 阅读全文
posted @ 2014-06-03 22:16 swtool 阅读(3450) 评论(0) 推荐(0) 编辑
摘要:由于CMLContentSearchPreviews方法是AutoCAD2014中才加入的,所以只能应用于2014及以后版本,可惜啊!using System.IO;using Autodesk.AutoCAD.ApplicationServices;using Autodesk.AutoCAD.D... 阅读全文
posted @ 2014-06-02 22:03 swtool 阅读(1285) 评论(1) 推荐(0) 编辑

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