Defining Block Attributes

BlockAttribute definitions let you attach variable or constant text to blocks. When you insert a block that contains block attributes, you are prompted to specify values for each block attribute (unless the value is defined with a constant value).

You can define block attributes as singleline or multiline objects. You can edit block attributes of block references later with the EditBlockAttribute command. You can edit the name, request, and value with the EditAnnotation command.

  1. Do one of the following:

    • Select Insert > Block Definition > Define Block Attribute.
    • In the command window, type MakeBlockAttribute.

  2. In the dialog box, under Display, enter the following:

    • Name. Defines the BlockAttribute name. It may have any number of characters. Blanks are not allowed.
    • Caption. Displays text at the command window during block insertion. You may ignore the request if the block uses a constant block attribute value. For example, when you specify Enter norm term as a request, a typical answer would be Schedule 40 steel pipe as the value.
    • Default value. Displays the visible component of the block attribute in the drawing. It may have up to 256 characters and may be a constant or variable. Characters such as blanks, underscores and dollar signs are allowed.
    Note: If you define a singleline block attribute, you can apply fields in default value specifications. Click Field to insert a field.

  3. Under Text Settings, specify:

    • TextStyle. Defines the text style. You can create new text styles with the TextStyle command..
    • Justification. Defines the position and alignment of the block attribute text in relation to the insertion point.
    • Height. Defines the text size. To specify the text height on screen, click Select in graphics area .
    • Rotation. Specifies the BlockAttribute insertion angle. Enter a value between 0 degree and 360 degrees. Enter a positive value for counter-clockwise rotation and a negative value for clockwise rotation. To specify the rotation on screen, click Select in graphics area.

  4. Under Insertion Point, do one of the following:

    • Type X, Y, and Zcoordinate values.
    • Select Specify later to specify the insertion point on screen after the dialog box closes.
    • Click Select in graphics area to immediately specify the insertion point.

  5. Under Behavior, select:

    • Fixed. To switch between constant and variable block attribute values. When selected, the text in default value is a constant block attribute value in the drawing. You cannot insert variable data. When cleared, you are prompted to insert a variable block attribute value.
    • Hidden. To control the visibility of the block attribute value in block references. When selected, the value does not display during insertion in the drawing. Use this if the block attribute contains information to analyze later that does not have to be displayed on the drawing. This option is also helpful when there are so many block attributes that the drawing is unclear and confusing. To temporarily display hidden block attributes, use the DisplayBlockAttributes command.
    • Predefined. To create block attributes with their default values. When selected, values are not requested. The option lets you edit values after insertion with the editing commands.
    • Validate. To prompt for verification of the block attribute value while inserting a block.
    • Lock in Block. To verify whether the block attribute within the block reference is locked. When unlocked, you can move the block attribute with EntityGrips.
    • Position below last definition. Lets you align the current block attribute definition below the previous one.
      Note: This option is available only if the previous block attribute definition was a single line block attribute definition.