打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
【CAD 批量打图精灵 6.4】带授权文件&多文档多格式打印

发了CAD的帖子后有个朋友说要CAD 批量打图工具 ,所以现在分享来了
【软件介绍】:

cad批量打图精灵破解版V6.4专业版(带CAD批量打图精灵6.4授权文件)

依云CAD批量打图精灵是一款可以帮助用户自动识图框并打印而且还能模拟空间批量打印还支持自动打开dwg文件,可以说是一款比较实用的cad批量打图软件。支持多张dwg文件批量打印的软件,一些复杂的cad图纸往往有上十张甚至上百张,以往想要打印出来需要一个个的手工框选打印,现在使用cad批量打图精灵就能让你脱离苦海,一次就OK哦!绿色先锋为大家提供cad批量打图精灵破解版下载。

【软件截图】:

 

安装步骤:一定要先关闭CAD哦

你想问工具怎么用?

这位大大早就想到了,里面有安装、注册、以及批量打印的教程哦。

CAD批量打图精灵6.4:链接:http://yunpan.cn/cQHTiGVGvtSqI  访问密码 472a

这里算我沾那位论坛前辈的光吧,不过也希望能有一些支持和评分

现在分享给你,你也快来顶一下吧

分享自网易热(查看原文

(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 

【万里挑一豆列之列】Top1000↑http://www.douban.com/doulist/39765625/ 
▓最受豆友喜爱的豆列:【豆列中的豆列精选】新技能get√http://www.douban.com/doulist/38850815/ 
▓史上最轻松的PPT教程http://www.douban.com/doulist/38846619/ 
▓新华书店电子图书馆http://xhsd.360doc.com 
▓网友众选的热门游戏排行榜Top100 
http://www.douban.com/doulist/38843183/ 
♀更多精品:http://site.douban.com/191976/ 
♂分享者:http://www.douban.com/group/yaoqingzhuce/ 
?每日私人歌单大合集?http://www.douban.com/doulist/39764811/ 
【良心行业资源】http://zlw.so/g37N 
【光影天下】http://seyingwuji.lofter.com/ 
【网易头条资源】http://hot.163.com/group/toutiaowang#!tab=0 
秘?新技能get√技术宅?秘http://www.douban.com/doulist/41283366/ 
(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 

AutoCAD .NET二次开发(一)

时间:2015-06-08 14:47:50      阅读:43      评论:0      收藏:0      [点我收藏+]

标签:style   log   com   代码   使用   http   src   si   it   

其他话不多说,直接进入主题,既然是二次开发,当然是用CAD平台已经封装好了很多类,我们需要熟悉和使用它们。常用的AutoCAD .NET API的四个主要DLL文件是:

名称

作用

备注

AcDbMgd.dll

处理图形文件中存储的对象

 

AcMgd.dll

处理AutoCAD应用程序和用户接口

 

AcCui.dll

处理自定义文件

 

AcCoreMgd.dll

处理编辑器、发布与打印、定义AutoLISP命令和函数

AutoCAD 2014版

我们现在不必去深究这些类库的构造,这四个引用 的位置可以在CAD的安装路径下找到,(<盘符>:\program Files\AutoCAD 2013),先来一个测试实例:

新建类库项目,添加AcDbMgd和AcMgd引用,将引用的"复制本地"属性设置为False

设置项目属性中"调试"启动外部CAD程序。

添加测试代码,新建一个DWG文件。

启动调用,程序将打开Cad2013,在命令行中输入"netload",加载生成的dll文件,输入命令"NEWDWG"进行测试。

在调试过程中遇到的主要问题有:

问题一:未能找到类型或命名空间名称"CommandMethod"(是否缺少 using 指令或程序集引用?)

解决:如果是13以上的版本,除了添加AcDbMgd和AcMgd引用外,还应添加accoremgd引用,然后就是using了。

问题二:特性"CommandMethod"对此声明类型无效。它只对"method"声明有效。

解决:CommandMethod语句之后的有效行必定要是一个函数。

问题三:程序集生成 -- 引用的程序集"accoremgd.dll"针对其他处理器

解决:操作系统版本问题,将目标平台改为x64即可。

问题四:netload加载时错误: 未能完成程序集的安装(hr = 0x8007000b)。探测终止。

解决:Framework平台是4.0,其中的Linq引用有问题,不用它,去掉即可。


 

(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 

【万里挑一豆列之列】Top1000↑http://www.douban.com/doulist/39765625/ 
▓最受豆友喜爱的豆列:【豆列中的豆列精选】新技能get√http://www.douban.com/doulist/38850815/ 
▓史上最轻松的PPT教程http://www.douban.com/doulist/38846619/ 
▓新华书店电子图书馆http://xhsd.360doc.com 
▓网友众选的热门游戏排行榜Top100 
http://www.douban.com/doulist/38843183/ 
♀更多精品:http://site.douban.com/191976/ 
♂分享者:http://www.douban.com/group/yaoqingzhuce/ 
?每日私人歌单大合集?http://www.douban.com/doulist/39764811/ 
【良心行业资源】http://zlw.so/g37N 
【光影天下】http://seyingwuji.lofter.com/ 
【网易头条资源】http://hot.163.com/group/toutiaowang#!tab=0 
秘?新技能get√技术宅?秘http://www.douban.com/doulist/41283366/ 
(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 


 

 

 
(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 

【万里挑一豆列之列】Top1000↑http://www.douban.com/doulist/39765625/ 
▓最受豆友喜爱的豆列:【豆列中的豆列精选】新技能get√http://www.douban.com/doulist/38850815/ 
▓史上最轻松的PPT教程http://www.douban.com/doulist/38846619/ 
▓新华书店电子图书馆http://xhsd.360doc.com 
▓网友众选的热门游戏排行榜Top100 
http://www.douban.com/doulist/38843183/ 
♀更多精品:http://site.douban.com/191976/ 
♂分享者:http://www.douban.com/group/yaoqingzhuce/ 
?每日私人歌单大合集?http://www.douban.com/doulist/39764811/ 
【良心行业资源】http://zlw.so/g37N 
【光影天下】http://seyingwuji.lofter.com/ 
【网易头条资源】http://hot.163.com/group/toutiaowang#!tab=0 
秘?新技能get√技术宅?秘http://www.douban.com/doulist/41283366/ 
(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 

CAD不支持实时调试

应用程序不支持实时(JIT)调试。有关详细信息,请参见此消息的结尾。**************异常文本**************System.Exception:组件“Autodesk.AutoCAD.AcInfoCente
应用程序不支持实时(JIT)调试。
有关详细信息,,请参见此消息的结尾。************** 异常文本 **************
System.Exception: 组件“Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon”不具有由 URI“/AcWindows;component/infocenteracconn/myautocadballoon.xaml”识别的资源。
  在 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
  在 Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.InitializeComponent()
  在 Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon..ctor()
  在 Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.ShowInfoBalloon()
  在 Autodesk.AutoCAD.AcInfoCenterConn.InfoCenterManager.AcadApplication_Idle(Object sender, EventArgs e)
  在 System.EventHandler.Invoke(Object sender, EventArgs e)
  在 Autodesk.AutoCAD.ApplicationServices.Application.raise_Idle(Object value0, EventArgs value1)
  在 Autodesk.AutoCAD.ApplicationServices.Application.OnIdle()
************** 已加载的程序集 **************
mscorlib
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3620 (GDR.050727-3600)
   基本代码: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
acdbmgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcdbMgd.DLL
----------------------------------------
System
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3614 (GDR.050727-3600)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
msvcm90
   程序集版本: 9.0.30729.4148
   Win32 版本: 9.00.30729.4148
   基本代码: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e/msvcm90.dll
----------------------------------------
mscorlib.resources
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3620 (GDR.050727-3600)
   基本代码: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Xml
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Drawing
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.4016 built by: GDR
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.4016 built by: GDR
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.4016 built by: GDR
   基本代码: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Configuration
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AdWindowsInterop
   程序集版本: 0.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AdWindowsInterop.DLL
----------------------------------------
AdWindows
   程序集版本: 2.1.0.0
   Win32 版本: 2.1.123.55
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AdWindows.DLL
----------------------------------------
AdWindows.resources
   程序集版本: 2.1.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/zh-CN/AdWindows.resources.DLL
----------------------------------------
acmgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/acmgd.DLL
----------------------------------------
System.Core
   程序集版本: 3.5.0.0
   Win32 版本: 3.5.30729.1 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
AcWindows
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.DLL
----------------------------------------
AcWindows.resources
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/zh-CN/AcWindows.resources.DLL
----------------------------------------
acmgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Documents%20and%20Settings/GIS(YY)/My%20Documents/Visual%20Studio%202008/Projects/DotNETBarTest/CADTests/bin/Debug/acmgd.dll
----------------------------------------
System.Windows.Forms
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
AcTcMgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcTcMgd.DLL
----------------------------------------
AcCui
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcCui.DLL
----------------------------------------
AcWindows
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Documents%20and%20Settings/GIS(YY)/My%20Documents/Visual%20Studio%202008/Projects/DotNETBarTest/CADTests/bin/Debug/AcWindows.dll
----------------------------------------
PresentationFramework.Aero
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
PresentationFramework.Luna
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Luna/3.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll
----------------------------------------
PresentationFramework.resources
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.resources/3.0.0.0_zh-CHS_31bf3856ad364e35/PresentationFramework.resources.dll
----------------------------------------
ContextualTabSelectorRules
   程序集版本: 0.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.dll
----------------------------------------
ManagedMC3
   程序集版本: 2.20.0.0
   Win32 版本: 3.14.1
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/ManagedMC3.DLL
----------------------------------------
AcLayer
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcLayer.DLL
----------------------------------------
AcLayer.resources
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/zh-CN/AcLayer.resources.DLL
----------------------------------------
System.Windows.Forms.resources
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
WindowsFormsIntegration
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsFormsIntegration/3.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
System.Web.Services
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------************** JIT 调试 **************
应用程序不支持 Windows 窗体实时(JIT)调试。有关更多信息,请与应用程序的作者联系。原因:我将CAD的组件引用(acmgd、acdbmgd、AcWindows、AdWindows等)设置为复制到本地。解决方案:将他们的 "复制本地" 属性设置为 false就可以了。


 

 

 
(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 

【万里挑一豆列之列】Top1000↑http://www.douban.com/doulist/39765625/ 
▓最受豆友喜爱的豆列:【豆列中的豆列精选】新技能get√http://www.douban.com/doulist/38850815/ 
▓史上最轻松的PPT教程http://www.douban.com/doulist/38846619/ 
▓新华书店电子图书馆http://xhsd.360doc.com 
▓网友众选的热门游戏排行榜Top100 
http://www.douban.com/doulist/38843183/ 
♀更多精品:http://site.douban.com/191976/ 
♂分享者:http://www.douban.com/group/yaoqingzhuce/ 
?每日私人歌单大合集?http://www.douban.com/doulist/39764811/ 
【良心行业资源】http://zlw.so/g37N 
【光影天下】http://seyingwuji.lofter.com/ 
【网易头条资源】http://hot.163.com/group/toutiaowang#!tab=0 
秘?新技能get√技术宅?秘http://www.douban.com/doulist/41283366/ 
(?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?()? (?_?_??(??????(?_?_??_?_?_?_?_?_?_?_?_?() ? 


错误提示:
有关调用实时(JIT)调试而不是此对话框的详细信息, 
请参见此消息的结尾。 

不知道为什么要用这么难懂的提示,还是我不理解深意。出此错误的原因如下:
1,值为null 2,没有实例化就使用 所以对象在使用之前先做个判空。 if(obj != null){} url:http://greatverve.cnblogs.com/archive/2011/06/30/error-jit.html
下面是全部错误提示及某人的解决办法,似乎值得参考,但是我没试,记录下来:

请参见此消息的结尾。 

************** 异常文本 ************** 
System.NullReferenceException: 未将对象引用设置到对象的实例。 
在 BitAuto.HCSInterface.frmMain.tUpDown_Tick(Object sender, EventArgs e) 
在 System.Windows.Forms.Timer.OnTick(EventArgs e) 
在 System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) 
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 


************** 已加载的程序集 ************** 
mscorlib 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll 
---------------------------------------- 
HCSInterface 
程序集版本: 1.0.0.0 
Win32 版本: 1.0.0.0 
基本代码: file:///C:/Program%20Files/CRM二期系统/Interface/HCSInterface.exe 
---------------------------------------- 
System 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll 
---------------------------------------- 
System.Windows.Forms 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll 
---------------------------------------- 
System.Drawing 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll 
---------------------------------------- 
BitAuto.Common 
程序集版本: 1.0.0.0 
Win32 版本: 1.0.0.0 
基本代码: file:///C:/Program%20Files/CRM二期系统/Interface/BitAuto.Common.DLL 
---------------------------------------- 
BitAuto.ModelDown 
程序集版本: 1.0.0.0 
Win32 版本: 1.0.0.0 
基本代码: file:///C:/Program%20Files/CRM二期系统/Interface/BitAuto.ModelDown.DLL 
---------------------------------------- 
System.Data 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll 
---------------------------------------- 
System.Xml 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll 
---------------------------------------- 
System.Configuration 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll 
---------------------------------------- 
System.Transactions 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll 
---------------------------------------- 
System.EnterpriseServices 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll 
---------------------------------------- 
BitAuto.BLLDown 
程序集版本: 1.0.0.0 
Win32 版本: 1.0.0.0 
基本代码: file:///C:/Program%20Files/CRM二期系统/Interface/BitAuto.BLLDown.DLL 
---------------------------------------- 
BitAuto.DALDown 
程序集版本: 1.0.0.0 
Win32 版本: 1.0.0.0 
基本代码: file:///C:/Program%20Files/CRM二期系统/Interface/BitAuto.DALDown.DLL 
---------------------------------------- 
BitAuto.DBUtility 
程序集版本: 1.0.0.0 
Win32 版本: 1.0.0.0 
基本代码: file:///C:/Program%20Files/CRM二期系统/Interface/BitAuto.DBUtility.DLL 
---------------------------------------- 
System.Windows.Forms.resources 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll 
---------------------------------------- 
System.Web.Services 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll 
---------------------------------------- 
cvuqyfxw 
程序集版本: 1.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll 
---------------------------------------- 
mscorlib.resources 
程序集版本: 2.0.0.0 
Win32 版本: 2.0.50727.42 (RTM.050727-4200) 
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll 
---------------------------------------- 

************** JIT 调试 ************** 
要启用实时(JIT)调试, 
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置 
jitDebugging 值。 
编译应用程序时还必须启用 
调试。 

例如: 

<configuration> 
<system.windows.forms jitDebugging="true" /> 
</configuration> 

启用 JIT 调试后,任何无法处理的异常 
都将被发送到在此计算机上注册的 JIT 调试器, 
而不是由此对话框处理。

<configuration> 
<system.windows.forms jitDebugging="true" /> 
</configuration> 


把这个值设置为false!


AutoCAD .NET API组件

AutoCAD .NET API组件

分类: AutoCAD .NET API开发 901人阅读 评论(0) 收藏 举报

Components of the AutoCAD .NET API

AutoCAD .NET API组件

The AutoCAD .NET API is made up of different DLL files that contain a wide range of classes, structures, methods, and events that provide access to objects in a drawing file or the AutoCAD application. Each DLL file defines different namespaces which are used to organize the components of the libraries based on functionality.

AutoCAD .NET API由不同的DLL文件组成,这些DLL文件包含有大量的类、结构、方法及事件,用于访问图形文件对象或AutoCAD程序对象。每个DLL文件定义了不同的命名空间,按功能组织API组件。

The three main DLL files of the AutoCAD .NET API that you will frequently use are:

常用的AutoCAD .NET API的三个主要DLL文件是:

·         AcDbMgd.dll. Use when working with objects in a drawing file. 用于处理图形文件对象;

·         AcMgd.dll. Use when working with the AutoCAD application. 用于处理AutoCAD应用程序;

·         AcCui.dll. Use when working with customization files. 用于处理自定义文件;

Use an AutoCAD .NET API DLL 引用AutoCAD .NET API DLL文件

Before classes, structures, methods, and events found in one of the AutoCAD .NET API related DLLs can be used, you must reference the DLL to a project. After a DLL is referenced to a project, you can utilize the namespaces and the components in the DLL file in your project.

使用AutoCAD .NET API相关DLL文件里提供的类、结构、方法及事件之前,必须在你的VisualStudio工程中引用相应的DLL文件。完成引用后,你就可以在工程中使用该DLL文件里定义的命名空间和API组件。

Once a AutoCAD .NET API DLL is referenced, you must set the Copy Local property of the referenced DLL to False. The Copy Local property determines if Microsoft Visual Studio creates a copy of the referenced DLL file and places it in the same directory as the assembly file of the project when it is built. Since the referenced files already ship with AutoCAD, creating copies of referenced DLL files can cause unexpected results when you load your assembly file in AutoCAD.

一旦引用了AutoCAD .NET API DLL文件,应将该引用的“复制本地”属性设置为False(设置方法:解决方案资源管理器->右键该引用->属性->复制本地->False)。“复制本地”属性确定当Microsoft Visual Studio编译工程时是否创建一个引用文件的副本并将它放在与工程的程序集文件相同的目录下。 由于AutoCAD安装目录里包含有相同文件名的DLL文件, 因此,如果创建了引用文件副本,当加载程序集文件到AutoCAD中时可能会引发意想不到的结果。

Location of AutoCAD .NET API DLL files 定位AutoCAD .NET API DLL文件

The AutoCAD .NET API DLL files can be located at <drive>:/Program Files/AutoCAD 2012 or as part of the AutoCAD 2012 ObjectARX SDK which can be downloaded from http://www.objectarx.com or the Autodesk Developer Network Web site (http://www.autodesk.com/adn).

AutoCAD .NET API DLL文件位于AutoCAD安装目录里(<盘符>:/program Files/AutoCAD 2012),同时,作为AutoCAD 2012 ObjectARX SDK开发包的一部分,从http://www.objectarx.com下载,或从AutoCAD开发者网站下载(http://www.autodesk.com/adn)。

After the ObjectARX SDK is installed, the DLL files can be found in the inc-win32 and inc-x64 folders under the main install folder.

安装ObjectARX SDK开发包后,可以在主安装目录下的inc目录下找到AutoCAD .NET API DLL文件。

 

Note The DLLs in the ObjectARX SDK are simplified versions of the same files that ship with AutoCAD, as they do not contain dependencies on the AutoCAD user interface. It is recommended that you download and install the ObjectARX SDK, and then reference the DLL files that come with the SDK instead of those that are found in the install directory of AutoCAD 2012.

ObjectARX SDK开发包里的.NET API DLL文件是AutoCAD软件包里相应DLL文件的简化版本,不包含AutoCAD用户界面相关内容。推荐下载并安装ObjectARX SDK开发包,在工程中引用开发包里的DLL文件,而不引用AutoCAD2012安装目录里的文件。


本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
CSDN技术中心 Windows应用程序调试必备的--符号文件(Symbols)
彻底解决RichTextBox中表格不能折行的问题
如何从GAC中拷贝文件出来 C:\Windows\assembly
AutoCAD .NET API组件
用Mono构造最精简的.net运行环境
配置WebSite的IIS时遇到的问题与解决方法
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服