Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question: Extracting Autocad Attribute Data...

Status
Not open for further replies.

rockyroad

Programmer
Feb 22, 2003
191
US
Hello,

I am new to Autocad, thanks in advance for your patience.

I am doing development on an document management application. One of the types of documents that are dealt with are Autocad documents. What I need to do is isolate the program/routine within Autocad (is it ARX Module?) that is responsible for the attribute data of drawings, and either run it on the command line or directly from Autocad on server. Ultimately, what I need is for the program to spit back all of this attribute data in a text file, and then I can port that information to a database.

If anyone one has any information on how I should go about this, where to begin, or where to look for information, it would be greatly appreciated.

Thank You,

RR [yinyang]
 
RR,

I have done quite a bit of this - attribute extraction into a document management system. Attributes are part of the drawing database, they are regular drawing entities like lines, circles etc. You can access the attributes via VB/VBA, ARX, AutoLISP, etc. Attributes are associated with blocks inserted into the drawing itself, I'm assuming you're after the attributes within a title block, so you'll need to know the name of the title block.

The good news in all this is AutoCAD has a canned routine to extract attributes and export them to a text file. The routine is called attext.

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top