CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 7177:

Question

CAD 
 %  platform  category 
A
An automatic background mask is by default offered only for texts. With a simple trick you can invoke the mask functionality and add mask also to block attributes. The size of the mask then automatically and dynamically follows the current contents of the attribute text (value).

In the block editor, start creating a new attribute (ATTDEF).

Attribute background mask (CZ version)

  • Check the option "Multiple lines" and click the button "..." to define the default value for the attribute.
  • AutoCAD displays a simple text editor. Enter the default text for the attribute and right-click in the editor.
  • From the context menu select the function "Background mask" and set its parameters.
  • Finish the definition of the attribute (already masked) and save your block definition.
ACAD2010ACAD2009
100% *CAD
22.1.2010    60313×  
this tip shared by ARKANCE experts applies to: AutoCAD 2010 · AutoCAD 2009 ·

See also:
Tip 14699:How to add an attribute to all visibility states in a dynamic block?
Tip 14690:Text copied from EATTEDIT is pasted as RTF.
Tip 14630:Extended ASCPOINT - import coordinates from CSV file, including blocks with attributes, GPS coordinates, etc.
Tip 14604:QRcode - dynamically generated QR codes in AutoCAD.
Tip 14537:Automation of AutoCAD drawing texts using fields.


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
  



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
ARKANCE LT Extension More info


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