C++ Programmer's Cookbook

{C++ 基础} {C++ 高级} {C#界面,C++核心算法} {设计模式} {C#基础}

ObjectDBX 简介(ObjectARX ,Object enablers Autocad 二次开发等)


 一种在arx中,依靠autocad的(called objectdbx modules),第二中布依靠autocad,只要有dbx host就可以(called object enablers).

While the entire ObjectARX API can be used in an application, only a subset of the API libraries is needed to define a custom database object or entity. Applications built with this subset, called ObjectDBX modules or Object Enablers, are not required to load exclusively in AutoCAD, but can load in any Autodesk RealDWG host application. Autodesk RealDWG host applications include AutoCAD, AutoCAD LT, Autodesk VIZ, Inventor, and third-party host applications built with the Autodesk RealDWG SDK. Object Enablers are built to be distributed along with a DWG file containing instances of those custom objects. Any DWG editor or viewer can open the drawing and load the Object Enabler so that full functionality of the custom class is exposed.

Because Object Enablers don't depend on a particular host, they have no user interface capabilities. They are purely a plug-in for the ObjectDBX framework. ObjectARX applications, in contrast, require the presence of AutoCAD, and will not load into any other application. Therefore, all the user interface features of ObjectARX are available to an ObjectARX module.

When designing an application, keep this distinction in mind and break any custom object/entity into an Object Enabler so that the object can be transported to applications other than AutoCAD. Of course, custom objects can be created in an ObjectARX application, but a DWG containing any of these custom objects would give warnings about your missing application when it is opened in any host other than AutoCAD.


objectdbx 技术(realdwg 技术)----可以不依靠autocad操作dwg

The ObjectDBX(realdwg) SDK is licensed separately from ObjectARX and allows developers to write host applications that can access, read, and write DWG and DXF files without AutoCAD. See the autodesk.comDeveloperCenter for more information about the ObjectDBX(realdwg) SDK.


附: object Enablers 的例子: objectdbx sdk 下的 samople ploygon


  Relation of arx application and dbx application

ARX application may contains: .arx and .dbx that is coustom object but not object Enablers commonly. Arx application must be loaded in autocad.

Dbx application may contains: .dbx that is application host  ,dbx that is object enablers. Dbx application may be run in any object application host ,in other way, it may be run independently .

posted on 2006-02-21 10:39 梦在天涯 阅读(4787) 评论(0)  编辑 收藏 引用 所属分类: ARX/DBX

【推荐】超50万行VC++源码: 大型组态工控、电力仿真CAD与GIS源码库
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理





  • 随笔 - 461
  • 文章 - 4
  • 评论 - 746
  • 引用 - 0










My self

Often go

Useful Webs





  • 积分 - 1748018
  • 排名 - 5