Create XML from DWG

Discussion in 'AutoCAD' started by R3v3nG3, Jul 22, 2005.

  1. R3v3nG3

    R3v3nG3 Guest

    Hi all,
    I'm quite new to autocad customization and I need to decide a strategy
    to accomplish my task. I need to open some dwg (autocad 2004) files,
    extract informations about the entities contained and save them in a
    text or an xml file to finally insert those infos in a SQL db.
    DWG files contains polylines to represent for example a room and for
    each of them there is a block inside it which contains the attributes
    for that room (I didn't find a way to add attributes directly to a
    polyline).
    Actually I'm thinking at a vba macro which open the files, loop trough
    the entities and writes the xml/text file.
    Is there another/better way to realize that? For example a standalone
    ..NET app able to open dwg files and extract infos?
    Thanks all

    PS: I'd like to avoid using c++.
     
    R3v3nG3, Jul 22, 2005
    #1
  2. R3v3nG3

    R3v3nG3 Guest

    Yes, but specifications requires to export an xml/txt file before
    inserting it in a db. You said it's possible, how?
    Thanks
     
    R3v3nG3, Aug 11, 2005
    #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.