# ATTDEF Command line
[GstarCAD 2019](Help%20System/GSTARCAD/2019/Index.md) → [Commands](Help%20System/GSTARCAD/2019/Commands/(Commands).md) → [A](Help%20System/GSTARCAD/2019/Commands/A/(A).md)
The "-ATTDEF" command is used to create attribute definition.
## Command Access:
> **Command:** -ATTDEF
## Command Prompts:
> Enter an option to change \[Invisible/Constant/ Verify/ Preset/Lock position/Annotative/Multiple lines\] \<done\>:
Relative Glossary:
**Invisible:**
Checking the Invisible option, the attribute value will not be displayed or printed when inserting a block. The ATTDISP could replace the Invisible mode.
**Constant:**
Checking the Constant option, it will assign a constant value for attribute value.
**Verify:**
Checking the Verify option, it will prompt to verify the attribute value when inserting a block.
**Preset:**
Checking the Preset option, it will set the attribute value to be default when inserting a block with preset attribute.
**Lock position:**
Checking the Lock position option, it will lock the attribute location in block reference. After unlocked, the attribute could be moved relative to other parts of block. The block could be edited by grips. The attribute of Mtext could also be adjusted.
**Multiple lines:**
The specified attribute value could contain Mtext. Checking the Multiple lines option, the width of boundary of attribute could be specified.
**Note:** in a dynamic block, the position of attribute is contained in an action's selection set, the attribute must be locked.
## Other versions with matching text
[GstarCAD 2016](../../../2016/Commands/A/ATTDEF%20Command%20line.md) · [GstarCAD 2017](../../../2017/Commands/A/ATTDEF%20Command%20line.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/Commands/A/ATTDEF%20Command%20line.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/A/ATTDEF%20Command%20line.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/A/ATTDEF%20Command%20line.md)