DDATTDEF Command

Creates an attribute definition

Draw menu: Block > Define Attribute
Command line: ddattdef

The Attribute Definition dialog box is displayed.


An attribute is informational text associated with a block. An attribute definition specifies an attribute's properties and which prompts appear when the block is inserted.

After you complete the Attribute Definition dialog box, the attribute tag appears in the drawing. AutoCAD LT erases the attribute tag from the drawing when the attribute tag is included in a block definition using the BMAKE or BLOCK command. When you insert the block, AutoCAD LT displays the attribute value at the same location in the block with the same text style and alignment.

Attribute Definition Dialog Box

Mode

Sets options for attribute values associated with a block when you insert the block in a drawing.

These options are stored in the AFLAGS system variable.

Attribute

Sets attribute data.

Insertion Point

Specifies the location of the attribute when the block is inserted in a drawing. Select a point in the drawing or enter X, Y, and Z coordinate values.

Text Options

Sets the justification, style, height, and rotation of the attribute text.

Align Below Previous Attribute

Select to place the attribute tag directly below the latest defined attribute.

Note: If you have not previously defined an attribute definition, this check box is unavailable.

Related Commands: ATTDEF creates attributes on the command line. ATTDISP overrides the visibility of attributes. ATTEDIT edits attributes on the command line. CHANGE modifies an attribute definition. DDATTE edits a block's variable attributes. DDATTEXT extracts attribute data. DDEDIT edits text and attribute definitions.
System Variables: AFLAGS stores the Mode settings.