Adding Attributes data to drawings - VBA
Adding Attributes data to drawings - VBA
(OP)
I have several text files that I have been using to draw in AutoCAD(Programmatically - VBA). They have several other attributes that I would like to include with the drawings from these files.
I have been reading up on using blocks to attach attributes, but this does not seem to be what I want. There are for e.g. several lines with diffirent attributes like road name, location, nearest intersection, etc, that need to be attached to different lines through out the drawing.
Are there ways to do this? Please help and thanks in advance.
I have been reading up on using blocks to attach attributes, but this does not seem to be what I want. There are for e.g. several lines with diffirent attributes like road name, location, nearest intersection, etc, that need to be attached to different lines through out the drawing.
Are there ways to do this? Please help and thanks in advance.





RE: Adding Attributes data to drawings - VBA
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: Adding Attributes data to drawings - VBA
RE: Adding Attributes data to drawings - VBA
These links may help...
http://www.afralisp.com/vba/attabvba.htm
http://www.afralisp.com/lisp/dict.htm
http://www.afralisp.com/lispa/lisp21.htm
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: Adding Attributes data to drawings - VBA
RE: Adding Attributes data to drawings - VBA
In you VB editor on a form( or Module) go to Tool and add the AutoCAD Map reference(Depending on the version, Mine was Map 6 - AutoCAD Map 2000i Realease 4.5).
This gives you all the object data tools necessary to create attached data.