CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 4650 

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)

ACAD
100% *  CAD 
7.12.2012    3022×  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 11404:Operations with attributes inside a block - fields.
Tip 11398:Editing block attributes in AutoCAD mobile.
Tip 11198:Justified attribute text in mirrored blocks (AutoCAD)
Tip 10761:Dynamic block attributes do not respect visibility states.
Tip 10658:How to open a R/O DWG without the read-only warning?


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   



Featuring:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D 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.
TOPlist