. NET development ObjectARX Learning

Source: Internet
Author: User

I used vs2005 and autocad2007.

1. Download the ObjectARX SDK from www. autosite.com/objectarx.

2 ObjectARX-managed encapsulation class acdbmgd. dll and acmgd. dll, which are available in the SDK Inc directory

Acdbmgd. dll encapsulates objectdbx, which is the basis of ObjectARX and realdwg. realdwg can process DWG files in an environment separated from AutoCAD, but licence and faint are required.

.. Net can also access the com api of AutoCAD by referencing the AutoCAD 2007 Type Library and AutoCAD/objectdbx common 17.0 Type Library. The DLL is Autodesk. autoCAD. interOP. DLL and Autodesk. autoCAD. interOP. common. DLL

3. the SDK classmap directory contains class diagrams. There are many examples in the samples directory.

If you want to debug ObjectARX under vs2005ProgramSet Start external program under the debug label under the project attribute to the path of acad.exe, and working directory to the userdatacache directory of the installation directory. My names are D: /AutoCAD 2007/acad.exe and D:/AutoCAD 2007/userdatacache/

It is troublesome to recompile and restart AutoCAD every time the ARX program is modified. You can use the edit and continue function of vs2005 (vs2005: Tools --> options... --> debuging --> edit and continue must be hooked) so that each time the breakpoint is set and debugged, it can be modified.CodeTo continue running.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.