# SETVAR Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) **Function Description:** This command is used to list or change the values of system variables. **Command Access:** > **Icon:** ![](Help%20System/GSTARCAD/2027/assets/1ddba7cb187630fde23c7f1f785e07caf2fd3b091f54cc22be647aae924b2713.png) > **Menu:** Tools > Inquiry > Set Variable > **Ribbon:** Home > Utilities > Set Variable > **Toolbar:** / > **Command:** SETVAR > **Alias:** SET **Command Prompts:** ``` Enter variable name or [?]: ``` ## **Variable name** Specifies the name of the system variable to be set. Users can also change the system variable by entering its name and new value under the command prompt. ## **?** Lists all system variables and their current settings in the drawing. --- **Related References:** - [Commands about the Application Window (GstarCAD 2026)](../../2026/Commands/Commands%20about%20the%20Application%20Window.md) **Related Tasks:** - [To Enter Commands (GstarCAD 2026)](../../2026/Commands/To%20Enter%20Commands.md) - [To Enter System Variables on the Command Line (GstarCAD 2026)](../../2026/Commands/To%20Enter%20System%20Variables%20on%20the%20Command%20Line.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences/SETVAR.html) · © Gstarsoft Co., Ltd.