zoukankan      html  css  js  c++  java
  • CAD的API们

    AutoCAD有4种API,.net,lisp,activex和ObjectARX(C++)。它们都是用来给cad写插件什么的,依赖cad运行。

    另有一个RealDWG SDK,这是用来读写dwg或dxf文件的。可以完全脱离cad环境运行。

    好比是dwg文件的解码编码器。如果闲的疼的话,完全可以配合一个opengl渲染环境来做成一些无聊的事。

    另外,

    还有一个ObjectDBX。

    在ObjectARX的Dev Guide中,是这么说DBX的:

    ObjectDBX is the foundation for ObjectARX and for the RealDWG ® SDK.

    另外,下面这段貌似更能说明RealDWG、DBX和ARX的关系。

    In order for a RealDWG Host Applications (e.g. Inventor) to be able to correctly display a custom object, it is necessary to create an 'object enabler' or 'ObjectDBX module' for that entity. An object enabler is created using the ObjectARX SDK, but makes use of the subset of ObjectARX functionality that does not depend on accessing AutoCAD editor functionality. (In general, this means deriving from and accessing AcDb classes, but not using selection set, editor reactor, document manager, plot manager, etc.). An object enabler DLL has a .dbx extension.

    上段来自:http://adndevblog.typepad.com/autocad/2013/01/understanding-objectdbx-and-realdwg.html

    -----再次从dev guide中摘抄的分割线,所以上段中第二行略可疑--------

    ObjectDBX

    The database-related subset of ObjectARX, which includes support for custom objects and entities. These APIs do not include classes that interact with the AutoCAD editor or provide user interface functionality.

    RealDWG®

    A separately licensed SDK for developing host applications that use ObjectDBX to read and write DWG and DXF files without AutoCAD. See the autodesk.com Developer Center for more information about the RealDWG SDK.

    Object Enabler

    A module with the .dbx extension that defines custom DWG and DXF database objects and entites using only the ObjectDBX portion of the ObjectARX SDK. An Object Enabler is not dependent on AutoCAD and can load in any RealDWG host application.

    ---------对于复杂CAD Application,ARX提供的几个特性,含义存疑---------------

    ObjectARX supports the development of complex applications, providing the following features:

    • Notification
    • Transaction management
    • Deep cloning
    • Reference editing
    • Protocol extension
    • Proxy object support
  • 相关阅读:
    python 环境常用指令(updating...)
    English Voice of <<Take Me To Your Heart>>
    English trip V2-B 1 What's on the Menu? 菜单上有什么? Teacher:Tom
    VM-ESXI 相关常用命令(Updateing)
    English trip EM2- LP 5B Eating Right 正确的饮食 Teacher:Gabi
    (转)Linux中的screen命令使用
    Centos7 密码遗忘-单用户模式
    数据集
    SVD 实现
    网易音乐推荐原理及算法
  • 原文地址:https://www.cnblogs.com/mumuliang/p/3457588.html
Copyright © 2011-2022 走看看