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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script files not accessing Attribute fields

Status
Not open for further replies.

gherrick

Mechanical
Joined
Jul 12, 2003
Messages
3
Location
US
I have been using attribute fields on the job I am working on now, loop drawings, and have been finding them very usefull to enter data. Unfortunetly this time saver might be taken away from me. An Engineer who likes to use AutoCAD script files say his script files cannot access the data in attribute fields. He is using AutoCAD 2000. I have 2005. Because I do most of the CAD. Is that the problem? Any advice will be appreciated. Using attributes fields has made my job much easier and I would like to info that I can use to justify keep using it.
Thank-you!
 
Could you post an example?

"Everybody is ignorant, only on different subjects." — Will Rogers
 
You should just be able to use the "-attedit" command. It can be used within a script; you can specify the tag prompt and then the new value to be written, i.e.:

-ATTEDIT
N (edit attributes one at a time)
N (only attributes visible on screen)
(block name, if known)
(att tag spec)
(att value spec)
SCHEME LAYOUT (string to change)
STORAGE \ TREATMENT (new string)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top