Playing With Blocks – Attributes

Now that we have discovered the power of visibility states in my previous tip, let’s move forward with exploring other ways to enhance your blocks. This time we will focus on attributes. For those of you who are not familiar with attributes, they are simply lines of text within a block that allow the user to enter in a desired value or text when the block is inserted into their model. Modifying an attribute is the only way to edit text within a block after the block has been placed, aside from going into the block editor and manually making the change.

To add an attribute to your block:

  1. Open the block in block editor, or create a new block.
  2. Choose the visibility state and layer that you wish to add your attribute to.
  3. Type the command “ATT”.  The Attribute Definition dialog box will appear.
  4. Make sure that only the Lock position box is checked in the Mode section of the dialog.
  5. In the Attribute section of the dialog enter a Tag, Prompt and Default values.
  • Tag: enter a name for your attribute. There can be no spaces in the Tag name.
  • Prompt: enter what would like to say as  a prompt to the users.
  • Default: enter a default value, or text that will automatically show up in the block until it is changed by the user.
Block Attribute Definition

 

 

 

 

 

 

 

 

 

**Clicking the button to the right of the Default field, you can add a dynamic field as all, or part of your attribute text (i.e. – date, sheet title, etc.)

Block Attribute Field

 

 

 

 

 

 

 

 

 

 

Example of editing an attribute:

1) Insert a block with an attribute.

Block with an attribute

2) Double-click the block. The Enhanced Attribute Editor dialog will appear.

Enhanced Attribute Editor

 

 

 

 

 

 

 

3) In the Value field, type the desired text to replace the default attribute and Click OK.

Default Attribute

 

 

 

 

 

**Modifying the properties of the attribute, like any other test in a block, can be done by selecting it in block editor, right-clicking, and choosing “Properties”.

People also read: Playing With Blocks – Visibility States

Don’t want to miss out on other great information? Subscribe to this blog or our monthly eNewsletter now!

Learn More ◊ Contact us today ◊ Newsletter ◊

EnvisionCAD Group EnvisionCAD YouTube Channel   

 

EnvisionCAD

EnvisionCAD

Since 1996, EnvisionCAD has been a nationally recognized leader in the configuration, customization, implementation, training & support for CAD software solutions. Our individualized approach has benefited private engineering firms and government agencies alike. Basic or advanced, we can help you get the most from your CAD technology.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *