许可优化
许可优化
产品
产品
解决方案
解决方案
服务支持
服务支持
关于
关于
软件库
当前位置:服务支持 >  软件文章 >  ObjectArx:AutoCAD二次开发入门[1]

ObjectArx:AutoCAD二次开发入门[1]

阅读数 3
点赞 0
article_banner

ObjectArx

1.什么是ObjectArx

ObjectArx是AutoCAD对用户和开发者开放的一个C++ API库,开发可以用于运行在AutoCAD的“中间件”,扩展AutoCAD的 类  和协议,编写自己的命令可以和AutoCAD内置命令一样。
ObjectDBX 是可用于开发AutoCAD的扩展类库,可用于ObjectArx和RealDWG SDK。不过RealDWG SDK不是免费的,需要商业授权,可以不需要安装AutoCAD,对DWG文件进行读写。
dwg和dxf

   dwg为二进制的AutoCAD保密的文件格式,相反dxf是明文写入的可用于交换数据的文件格式。dxf reference 在这里可以找到dxf中每一个块的code引用。

那可不可以对dwg和dxf读写呢?
libredwg 是以[libdwg]为基础的,C语言开发的一个对dwg读写转换的库。
dxfliblibdxfrw。这些库就是根据dxf reference 进行对dxf文件中的实体、属性、层等CAD读写。

除了C++ ObjectArx外,AutoCAD还支持.NET,LISP,VB,COM等开发的工具。

2.用ObjectArx能干什么

  • 读写AutoCAD dwg和dxf。
  • 与AutoCAD进行交互
  • 使用MFC编写自己的交互界面
  • 支持多文档操作
  • 编写自己的数据库类和实体
  • 与其他编程环境交互
  • 访问AutoCAD 数据库中的对象

3.ObjectArx下载地址

ObjectArx 2014(32位和64位)
http://download.autodesk.com/esd/objectarx/2014/Autodesk_ObjectARX_2014_Win_64_and_32Bit.sfx.exe

   ObjectArx 2014帮助文档
http://download.autodesk.com/esd/objectarx/2014/Autodesk_ObjectARX_2014_Documentation.sfx.exe

   ObjectArx 2013(32位和64位)
http://download.autodesk.com/esd/objectarx/2013/ObjectARX_2013_Win_64_and_32Bit.exe

   2013 帮助文档
http://download.autodesk.com/esd/objectarx/2013/ObjectARX_2013_Documentation.exe

   2012(32位和64位版本)
http://download.autodesk.com/esd/objectarx/2012/ObjectARX_2012_Win_64_and_32Bit.exe

   2011(32位和64位版本)
http://download.autodesk.com/esd/objectarx/2011/ObjectARX_2011_Win_64_and_32Bit.exe

   2010(32位和64位版本)
http://download.autodesk.com/akdlm/esd/dlm/objectarx/ObjectARX_2010_Win_64_and_32Bit.exe

   2009(32位和64位版本)
http://download.autodesk.com/esd/objectarx/2009/ObjectARX_2009_Win_64_and_32Bit.exe

   2008 32位版本:
http://download.autodesk.com/esd/objectarx/2008/ObjectARX_2008_32Bit.exe

   2008 64位版本:
http://download.autodesk.com/esd/objectarx/2008/ObjectARX_2008_64Bit.exe

AutoCAD的版本和ObjectArx的版本有严格的对应关系。

VC6.0 Visual Studio 6.0 - R15 AutoCAD 2000-2002 - ObjectArx 2000-2002 VC7.0 Visual Studio 2002 - R16 AutoCAD 2004-2006 - ObjectArx 2004-2006 VC8.0 Visual Studio 2005 - R17 AutoCAD2007-2009 - ObjectArx 2007-2009 VC9.0 Visual Studio 2008 SP1 - R18 AutoCAD 2010-2012 - ObjectArx 2010-2012 VC10.0 Visual Studio 2010 - R19 AutoCAD 2013-2014 - ObjectArx 2013-2014 VC11.0 Visual Studio 2012 update 4 - R20 AutoCAD 2015-2016 - ObjectArx 2015-2016 VC14.0 Visual Studio 2015 - R21 AutoCAD 2017 -ObjectArx 2017

4.安装ObjectArx

2008 32位版本:
http://download.autodesk.com/esd/objectarx/2008/ObjectARX_2008_32Bit.exe

   根据提示选择路径一直下一步即可


免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删


相关文章
QR Code
微信扫一扫,欢迎咨询~
customer

online

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 board-phone 155-2731-8020
close1
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

姓名不为空

姓名不为空
手机不正确

手机不正确

手机不正确
公司不为空

公司不为空

公司不为空