.NET

Reply
Active Contributor
irfan
Posts: 35
Registered: ‎10-10-2003
Message 1 of 7 (134 Views)

xml or Access

134 Views, 6 Replies
07-18-2005 09:05 AM
hi,

I need some suggestions as to what would be an appropriate storing medium to
store AutoCAD related data.
We are developing an application that needs to store and retrieve the data
that the user has inputs through custom forms and as well information about
the drawing itself.

Are there any samples that show XML and AutoCAD. Could someone guide us to
some books please.
We had a look at AutoCAD DatabaseConnectivity (Scott McFarlane) for MS
Access, but it sounds very basic.

One of the reason we are inclined to use xml is we want each drawing to have
its own data file , and when the dwg is opened, it loads the data from that
very file rather the accessing a central database like MS Access.

Any views and comments will be highly appreciatated.

irfan
*J. Daniel Smith
Message 2 of 7 (134 Views)

Re: xml or Access

07-18-2005 10:05 AM in reply to: irfan
One good place to store "AutoCAD related data" and "information about the
drawing itself" is in the DWG file. If you do that, you'll probably want to
use custom objects which aren't directly supported with the .NET API. Using
ObjectDBX (um...RealDWG), you can even extract such data w/o AutoCAD.

Dan

wrote in message news:4904147@discussion.autodesk.com...
hi,

I need some suggestions as to what would be an appropriate storing medium to
store AutoCAD related data.
We are developing an application that needs to store and retrieve the data
that the user has inputs through custom forms and as well information about
the drawing itself.

Are there any samples that show XML and AutoCAD. Could someone guide us to
some books please.
We had a look at AutoCAD DatabaseConnectivity (Scott McFarlane) for MS
Access, but it sounds very basic.

One of the reason we are inclined to use xml is we want each drawing to have
its own data file , and when the dwg is opened, it loads the data from that
very file rather the accessing a central database like MS Access.

Any views and comments will be highly appreciatated.

irfan
Active Contributor
irfan
Posts: 35
Registered: ‎10-10-2003
Message 3 of 7 (134 Views)

Re: xml or Access

07-18-2005 10:10 AM in reply to: irfan
thanks for the reply,

Any direct links as to how will u save and retrieve the data inside autocad, what do we need to learn to achieve that.

irfan
*Jim Awe
Message 4 of 7 (134 Views)

Re: xml or Access

07-18-2005 04:37 PM in reply to: irfan
>>>
Are there any samples that show XML and AutoCAD.
<<<

I posted a sample called MgdDbg here earlier that has some XML examples.
There is code to demonstrate how to read XML files and navigate their
structure, and code on how to produce an XML file that can then be converted
to HTML and displayed in the browser. I don't know if that will help with
your problem, but it will get you started quickly if you decide to use XML.

Jim Awe
Autodesk, Inc.

wrote in message news:4904147@discussion.autodesk.com...
hi,

I need some suggestions as to what would be an appropriate storing medium to
store AutoCAD related data.
We are developing an application that needs to store and retrieve the data
that the user has inputs through custom forms and as well information about
the drawing itself.

Are there any samples that show XML and AutoCAD. Could someone guide us to
some books please.
We had a look at AutoCAD DatabaseConnectivity (Scott McFarlane) for MS
Access, but it sounds very basic.

One of the reason we are inclined to use xml is we want each drawing to have
its own data file , and when the dwg is opened, it loads the data from that
very file rather the accessing a central database like MS Access.

Any views and comments will be highly appreciatated.

irfan
Member
mhosan
Posts: 3
Registered: ‎08-17-2005
Message 5 of 7 (134 Views)

Re: xml or Access

02-20-2006 04:47 AM in reply to: irfan
Dear Jim Awe:

First, im excuse me for my little inglish (im from Argentina), but i have a dude, about the code that you reference (a sample called MgdDbf): ¿Where is it?.

Thanks!!!
Marcelo Hosan
Cadista / Programador
Distinguished Contributor
NathTay
Posts: 1,691
Registered: ‎12-15-2003
Message 6 of 7 (134 Views)

Re: xml or Access

02-20-2006 01:31 PM in reply to: irfan
http://discussion.autodesk.com/thread.jspa?messageID=4907654
Member
mhosan
Posts: 3
Registered: ‎08-17-2005
Message 7 of 7 (134 Views)

Re: xml or Access

02-21-2006 03:34 AM in reply to: irfan
Thanks Nathan!! (muchas gracias Nathan, desde la tierra del tango!!).

Marcelo Hosan.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.