How to Create Attribute Definitions in AutoCAD 2014 - dummies

How to Create Attribute Definitions in AutoCAD 2014

By Bill Fane, David Byrnes

You use the Attribute Definition dialog box in AutoCAD 2014 to create attribute definitions. (Clever, eh?) The steps are similar to creating a text string except that you must supply a little more information. Create attribute definitions by following these steps:

  1. Change to the layer on which you want to create the attribute definition.

  2. To run the ATTdef command, click Define Attributes in the Block panel slideout on the Home tab.

    You rarely need to use any of the first four Mode settings (Invisible, Constant, Verify, or Preset). Leave them deselected. If you’re curious about what the modes do, hover the mouse pointer over an item; if that doesn’t give you enough information, use the Help button in the dialog box to find out more.


  3. Select or deselect the Lock Position check box.

    If Lock Position is selected, the attributes can’t be relocated within the block reference and the whole thing is treated as a single object. Deselecting Lock Position allows attributes to be moved by dragging their grips, without moving the block reference as a whole.

  4. Select or deselect the Multiple Lines check box.

    Selecting Multiple Lines in the Mode area disables the Default text box and displays a button to open the Multiline Editor.

    By default, you don’t see the whole panoply of formatting options of the mText command’s In-Place Text Editor, but you can overscore or underscore text; and from a right-click menu, you can import text, assign a background mask, or choose from a number of other options. Setting the value of the system variable ATTIPE (Attribute In-Place Editor) to 1 enables all formatting options in the In-Place Text Editor.

  5. In the Attribute area, type values for the tag (the unique identifier for the attribute), the user prompt, and the default value.

    The name you type in the Tag text box can’t contain spaces. The Prompt and Default text boxes may contain spaces, though.

    Attribute values can include fields that update automatically, such as date, filename, and system variable settings.

  6. (Optional) Click the Insert Field button to the right of the Default text box to insert a field.

  7. (Optional) If you select the Multiple Lines check box in Step 4, click the Multiline Editor button (it shows three periods) to enter the multiline default attribute value and add any formatting; then click OK.

    The text you enter in this step is the default value stored in the attribute definition, and you can change it when you insert the block.

  8. In the Text Settings area, specify the justification, text style, annotative property, text height, rotation, and boundary width (the last for multiline attributes only).

    The text properties for attribute definitions are the same as those for text objects.

  9. Select the Specify On-Screen check box to choose an insertion point for the attribute definition.

    An attribute definition’s insertion point is similar to a text string’s base point. Remember to use snap, object snap, or another precision tool if you want the eventual attribute values to be located at a precise point.

  10. Click OK to create the attribute definition.

  11. Repeat Steps 1–10 for any additional attribute definitions.

    To create a series of attribute definitions in neat rows for a single block, create the first one by following Steps 1–9, and then select the Align Below Previous Attribute Definition check box for the subsequent definitions.

    To make a series of nonadjacent attributes, create the first one by using Steps 1–10, and then copy the first attribute definition and edit the copy by using the Properties palette. You can prevent attributes from being dragged around the block by selecting the Lock Position check box in the Attribute Definition dialog box.