Create XML from DWG
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Create XML from DWG

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
R3v3nG3
Guest





Posted: Fri Jul 22, 2005 12:10 pm    Post subject: Create XML from DWG Reply with quote

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++.

Back to top
hypertec



Joined: 09 Aug 2005
Posts: 1

Posted: Tue Aug 09, 2005 9:10 am    Post subject: re:Create XML from DWG Reply with quote

Its possible, but have you considered that the XML step may be an extra step not needed.
Back to top
View user's profile Send private message
R3v3nG3
Guest





Posted: Thu Aug 11, 2005 4:10 pm    Post subject: Re: re:Create XML from DWG Reply with quote

Yes, but specifications requires to export an xml/txt file before
inserting it in a db. You said it's possible, how?
Thanks

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB