Message 1 of 11
How to read & write xml elements into Autocad

Not applicable
10-15-2007
03:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Group,
I was wondering if someone could help me locate information related to xml
for use with drawing elements. I've searched all over the net and other than
landxml site I have yet to find any samples that show how to export drawings
elements to xml or control drawing elements from an xml file. The only data
I've found shows how to use the Landxml routines for input & export and I
want to see is if I can control placement of drawing elements linked by xml
if possible. I have several hundred routines which do a good job but to take
them to the next level of usability I'd like to see if I could write data
from these routines out to xml format so they could be used by other
utilities. as an example most of my routines use a baseline (two know
points) like an alignment in LDT where I select the same control points over
and over for processing the routines, I'd like to see if with the use of
xml I could possible link a project connection like LDT does where the
routines would know the controls points after a project have been created
and be able to toggle between several control points with N,E and N,E,Z.
My ultimate goal is to write most of our project data into xml file so that
it could not only be used by the vba utilities but also in our specs and
documents. I'll take any samples so that I can learn how to write data out
from a routine (xml) and be able to reuse that in tables, be able to input
blocks like the wblock xml or even draw polylines, lines
Any help, links, books, where to look for this type of information is
appreciated.
Thank you for your time & consideration
John
I was wondering if someone could help me locate information related to xml
for use with drawing elements. I've searched all over the net and other than
landxml site I have yet to find any samples that show how to export drawings
elements to xml or control drawing elements from an xml file. The only data
I've found shows how to use the Landxml routines for input & export and I
want to see is if I can control placement of drawing elements linked by xml
if possible. I have several hundred routines which do a good job but to take
them to the next level of usability I'd like to see if I could write data
from these routines out to xml format so they could be used by other
utilities. as an example most of my routines use a baseline (two know
points) like an alignment in LDT where I select the same control points over
and over for processing the routines, I'd like to see if with the use of
xml I could possible link a project connection like LDT does where the
routines would know the controls points after a project have been created
and be able to toggle between several control points with N,E and N,E,Z.
My ultimate goal is to write most of our project data into xml file so that
it could not only be used by the vba utilities but also in our specs and
documents. I'll take any samples so that I can learn how to write data out
from a routine (xml) and be able to reuse that in tables, be able to input
blocks like the wblock xml or even draw polylines, lines
Any help, links, books, where to look for this type of information is
appreciated.
Thank you for your time & consideration
John