TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: 2e4lite on July 07, 2014, 10:19:55 PM
-
How to get all system environment variables in the drawing and their current settings?
-
Command:
SETVAR
Enter variable name or [?]: ?
Enter variable(s) to list <*>: *
// or
Command: _.sysvdlg
Select SaveAll ...
-
Old topic here: http://www.theswamp.org/index.php?topic=44891.0
-
Thank you for your quickly reply!
-
...system environment variables
SETVAR
Command: _.sysvdlg
OP said environment variables, which are different than "AutoCAD system variables"
If environment variables are really the desire here, see: http://www.hyperpics.com/downloads/resources/customization/autolisp/AutoCAD%20Environment%20Variable%20Quick%20Guide.pdf (http://www.hyperpics.com/downloads/resources/customization/autolisp/AutoCAD%20Environment%20Variable%20Quick%20Guide.pdf)
-
Another (http://bit.ly/1k2F2rX) (from gile)
-
To be finicky, environment variables do not exist for drawings. System variables, yes. Some system variables are both.
-
To be finicky, environment variables do not exist for drawings. System variables, yes. Some system variables are both.
Yep.
And then there is the distinction between variables saved in the drawing and those saved in the profile and those saved in the registry.
... and then there is the fact that the documentation is a little skimpy ... a 9 year old pdf from an independant web site is hardly current documentation.
-
And then there is the distinction between variables saved in the drawing and those saved in the profile and those saved in the registry.
...and those not saved at all.