Object DBX

Discussion in 'AutoCAD' started by Arka, Apr 23, 2004.

  1. Arka

    Arka Guest

    Is there a way of modifying drawing using object DBX? If so, where can I get
    some samples?
    thanks,
     
    Arka, Apr 23, 2004
    #1
  2. Arka

    Jeff Mishler Guest

    Yes.
    Search this newsgroup as well as the vba newsgroup. There have been numerous
    threads regarding ObjectDBX over the past few years. Don't bother trying to
    find "documentation" for it as it doesn't exist.

    If you get stuck trying to write some code, just ask. I'm sure you'll get
    pointed in the right direction.

    Since ObjectDBX, prior to R2004, needs to be registered I'll help you get
    started with this code snip that helped me. This just registers the
    Objectdbx dll so it can be used. I believe that R. Robert Bell posted this
    some time ago.

    (if (and (= (atoi (getvar "AcadVer")) 15)
    (not (vl-registry-read
    "HKEY_CLASSES_ROOT\\ObjectDBX.AxDbDocument\\CLSID"))
    )
    (startapp "regsvr32.exe" (strcat "/s \"" (findfile "axdb15.dll") "\""))
    )

    Good Luck,
    Jeff
     
    Jeff Mishler, Apr 23, 2004
    #2
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.