Reading AutoCAD Drawings in VB6

Discussion in 'AutoCAD' started by Laura B, Jul 22, 2004.

  1. Laura B

    Laura B Guest

    I was wondering if there was any way of reading the attributes etc. of an AutoCAD drawing through VB6 without actually opening AutoCAD and the drawing itself.

    Any assistance would be greatly appreciated.
     
    Laura B, Jul 22, 2004
    #1
  2. Laura B

    Santhosh Guest

    Hi

    You can take refrence to the AutoCAD library through Projects>Refrence> and select AutoCAD libary

    After getting the refrence press F2 for Object browser and select AutoCAD Class. This will display all the Methods. Properties related to that Class.
     
    Santhosh, Jul 22, 2004
    #2
  3. Laura B

    Laura B Guest

    That is a good start, thanks Santhosh.

    I will have a look around...does that mean that I will be able to modify the drawing too without actually opening AutoCAD? You don't happen to have some example code do you? That would also be rather helpful.

    Thanks.
     
    Laura B, Jul 22, 2004
    #3
  4. Laura B

    MP Guest

    I would recommend starting with a google search on ObjectDbx.
    Thats' how you work on dwgs without opening them.
    There's quite a bit of detail to the whole process though and there's oodles
    of info on google about all kinds of aspects you'll want to know.
    If that gets you started, and you hit a snag post back the code you've
    started and you'll get all the help you need I'm sure.

    What version of acad are you on?
    that affects whether you need to register the dbx dll or not and what the
    references need to be.

    AutoCAD drawing through VB6 without actually opening AutoCAD and the drawing
    itself.
     
    MP, Jul 22, 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.