# DIMSTYLE Command line
[GstarCAD 2021](Help%20System/GSTARCAD/2021/Index.md) → [Commands](Help%20System/GSTARCAD/2021/Commands/(Commands).md) → [D](Help%20System/GSTARCAD/2021/Commands/D/(D).md)
The "-DIMSTYLE" is used to create and modify dimension styles.
## Command Access:
> **Command:** -DIMSTYLE
## Command Prompts:
> Enter a dimension style option
> \[Annotative/Save/Restore/Status/Variables/Apply/?\]\<Restore\>
> :
## Function Description:
Users could save or restore the dimension system variable to selected dimension style.
Relative Glossary:
**Annotative:**Create annotative dimension styles.
**Save:**Save the current settings of dimension system variable to dimension styles.
> **Name:** Save the current settings of dimension system variable with the inputted name to the new dimension style. The new dimension style becomes current style.
> Inputting an existing dimension style name, it prompts:
> That name is already in use, redefine it?
> \<N\>
> :
> Inputting "y", it will regenerate the associative dimension by redefined dimension style.
> Under the command prompt "Enter name for new dimension style", inputting the new dimension name with \~ behind it, it displays the difference between the current style and the style need to save. It only display the difference, in the first column, it displays the current settings; in the second column, it display the settings of contrasted style.
> **?-list dimension styles**
> List named dimension styles in current drawing.
**Restore** Restore the dimension system variable to be the settings of selected dimension style.
> **Name:**Specify the inputting dimension style to be current.
> Under the command prompt "Enter name for new dimension style", inputting the new dimension name with \~ behind it, it displays the difference between the current style and the style need to save. It only display the difference, in the first column, it displays the current settings; in the second column, it display the settings of contrasted style.
>
> **?-list dimension styles** List named dimension styles in current drawing.
**Status**
Display all current values of dimension system variables. **Variable** List the settings of some certain dimensin style or selected dimension system variable, but not set it to be current.
> **Name**List the settings of dimension system variable of inputting dimension sytle name.
> Under the command prompt "Enter name for new dimension style", inputting the new dimension name with \~ behind it, it displays the difference between the current style and the style need to save. It only display the difference, in the first column, it displays the current settings; in the second column, it display the settings of contrasted style.
> **?-list dimension styles**List named dimension styles in current drawing.
> **Select dimension** List the dimension style and the dimension for replacing selected dimension objects.
**Apply:** Apply current dimension system variable settings to selected dimension objects and permanently replace any dimension styles of thoes objects.
The baseline spacing of dimension lines will not updates; the dimension system variable settings will not update existing text.
**?**-list dimension styles
List named dimension styles in current drawing.
## Other versions with matching text
[GstarCAD 2016](../../../2016/Commands/D/DIMSTYLE%20Command%20line.md) · [GstarCAD 2017](../../../2017/Commands/D/DIMSTYLE%20Command%20line.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/Commands/D/DIMSTYLE%20Command%20line.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/D/DIMSTYLE%20Command%20line.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/D/DIMSTYLE%20Command%20line.md)