Author Topic: About system environment variables  (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

2e4lite

  • Guest
About system environment variables
« on: July 07, 2014, 10:19:55 PM »
How to get all system environment variables in the drawing and their current settings?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: About system environment variables
« Reply #1 on: July 07, 2014, 11:21:12 PM »
Command:
SETVAR
Enter variable name or [?]: ?
Enter variable(s) to list <*>: *

// or
Command: _.sysvdlg
Select SaveAll ...


kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: About system environment variables
« Reply #2 on: July 07, 2014, 11:24:45 PM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

2e4lite

  • Guest
Re: About system environment variables
« Reply #3 on: July 08, 2014, 01:05:12 AM »
Thank you for your quickly reply!

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: About system environment variables
« Reply #4 on: July 08, 2014, 09:31:55 AM »
Quote from: 2e4lite
...system environment variables
Quote from: Kerry
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

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: About system environment variables
« Reply #5 on: July 08, 2014, 01:06:10 PM »
Another (from gile)

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: About system environment variables
« Reply #6 on: July 09, 2014, 12:43:51 PM »
To be finicky, environment variables do not exist for drawings.  System variables, yes.  Some system variables are both.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: About system environment variables
« Reply #7 on: July 09, 2014, 07:17:23 PM »
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.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: About system environment variables
« Reply #8 on: July 10, 2014, 07:53:05 AM »
Quote from: Kerry
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.