If you are going to do some customization in AutoCAD, then it’s unavoidable that you will have to change some system variables. I’m not good in customization. So having a system variable list is very helpful. I know there are some websites provide this list. But some of them are for old version of AutoCAD. Some of the sys var might already have been removed. Some might have been changed. And if you use old version of AutoCAD, it might not even existed yet. Why not you try to look inside your AutoCAD?
If you are not familiar with system variables, they are the variables that control your AutoCAD behavior. Every options you save, current layer, color, or lineweight, etc.
For example, we can turn on/off object snap by pressing [F3] – if I’m not mistaken it was not F3 before, right? –. But if you are creating a new command like in this example or this example, let’s say you want to turn off OSnap temporarily, you’ll have to use system variable. You can change the SNAPMODE value to 0 (off) or 1 (on).
Another example, if you want to create a button that change your active layer to ‘Boundary’ and activate line, you have to use system variable to change the current layer. you can use CLAYER to control the current layer. There are a lot of things you can control by using system variables.
So how you can see the whole system variables? Simple.
Just type SETVAR [enter] then type ? [enter]. Enter once again to see the whole list. You need to press [enter] several times to see them all.
Enter variable name or [?] <CLAYER>: ?
Enter variable(s) to list <*>:
ACADPREFIX “C:\Documents and Settings\edwinp\application
data\autodesk\a…” (read only)
ACADVER “18.0s (LMS Tech)” (read only)
ACTRECORDERSTATE 0 (read only)
ACTRECPATH “C:\Documents and Settings\edwinp\application
AREA 0.0000 (read only)
Press ENTER to continue:
Using System Variable Editor
If you have express tools installed on your computer, it’s even easier. You can use system variable editor. Not only see all the variables, you can also backup your current variables and restore them later.