CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 2627 

CAD tip CAD tip # 8960:

Question CAD 
 %  platform  category 
Q - question

Change the value of a name-selected attribute.

A - answer With the AutoCAD command -ATTEDIT you can modify the value of any block attribute even in a script or macro - both the block and the attribute are selected by name:
Command: -ATTEDIT
Edit attributes one at a time? [Yes/No] : N
Performing global editing of attribute values.
Edit only attributes visible on screen? [Yes/No] : N
Drawing must be regenerated afterwards.
Enter block name specification <*>: MYBLOCK
Enter attribute tag specification <*>: MYATTR
Enter attribute value specification <*>:
1 attributes selected.
Enter string to change:
Enter new string: MYNEWTEXT

You can also try the Express Tool GATTE (or its modified version - see Download)

100% *  CAD 
7.12.2012    2720x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 10761:Dynamic block attributes do not respect visibility states.
Tip 10658:How to open a R/O DWG without the read-only warning?
Tip 9516:Automating properties in DWG drawings - hidden gem in Express Tools.
Tip 8281:String concatenation in AutoCAD fields and block attributes.
Tip 7665:Change color of a block attribute.

Back   All CAD Tips All CAD tips&tricks

Project 2D curve to a 3D sphere. « | » How to convert a 2D sketch to a 3D sketch in Inventor?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.