# ATTDEF Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [A](Help%20System/GSTARCAD/2022/Commands/A/(A).md) <!-- help-structure:notice --> > **Source status:** The original source provides an incomplete section marker; its supplied placeholder is retained and no missing instructions are inferred. <!-- /help-structure:notice --> ## Function Description: This command is used to create an attribute definition for storing data in a block. The [](Help%20System/GSTARCAD/2022/Commands/03%20Dialog%20Boxes/Attribute%20Definition%20Dialog%20Box.md) is displayed. ## Command Access: > **Icon:** > ![](GCADICO_ATTDEF.png) > **Menu:** Draw \> Block \> Define Attributes > **Ribbon:** Insert \> Block Definition \> Define Attribute > **Toolbar:** BE: Manage \> Define Attribute > **Command:** ATTDEF > **Alias:** ATT ## Command Prompts: /