Help on using Object ARX with VBA

Discussion in 'AutoCAD' started by Yves, Feb 19, 2004.

  1. Yves

    Yves Guest

    Is it at all possible to use Autodesk's ObjectARX with VBA, like it's
    possible to use Windows API.

    Can someone post me a simple code to help me get started.

    Thanks.
     
    Yves, Feb 19, 2004
    #1
  2. Unless the ARX is designed to be a COM server, the answer is no.

    --
    There are 10 kinds of people. Those who understand binary and those who
    don't.

    http://code.acadx.com
    (Pull the pin to reply)
     
    Frank Oquendo, Feb 19, 2004
    #2
  3. Tony Tanzillo, Feb 20, 2004
    #3
  4. There is a ton of stuff you can do with ObjectARX that you can't do with VBA
    although VBA is still very powerful. I know in Visual Studio .NET it's very
    easy to add a reference to the AutoCAD type library. Then in your code,
    create an application object and you can use it from there. There are still
    a number of things and areas of AutoCAD you just won't be able to access
    unless you use ObjectARX/ObjectDBX.
     
    Larry Burnett, Feb 20, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.