CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 4207

CAD tip CAD tip # 13578:

   
Question CAD 
 %  platform  category 
Q - question

Change the block attribute type from variable to constant or vice versa.

A - answer With the freeware utility Att2Cons you can convert the type of selected block attribute (on inserted blocks) from variable to constant or from constant to variable.

The values of constant attributes are stored in block definitions (and so they are identical in all instances), the values of variable attributes are stored in block references (and so they may differ in each instance).

Download the LISP utility from Download, load it into your AutoCAD with APPLOAD and then type the command ATT2CONS to convert to constant attributes or ATT2VAR to convert to variable attributes. You can specify the attribute by picking in the drawing (picking an example). All these attributes in all references of that block will be modified. The drawing will usually not change visually. When converting variable attributes to constant ones, the default value will be used (and the original variable one will be lost).

Test it on Att2Cons sample DWG

ACADADTPlantACADMCivilMap
100% *  CAD 
16.12.2022    1764×  

See also:
Tip 11289:Adding, multiplying and rounding numbers inside DWG drawing texts - NumInText.
Tip 10761:Dynamic block attributes do not respect visibility states.
Tip 6381:Arithmetic functions in AutoCAD fields.
Tip 1451:How to mirror a block with text when text should remain readable?


Back   All CAD Tips



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:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist