How to get a list of all system variable names in current AutoCAD revision?

How to get a list of all system variable names in current AutoCAD revision?

sby0531
Enthusiast Enthusiast
4,845 Views
27 Replies
Message 1 of 28

How to get a list of all system variable names in current AutoCAD revision?

sby0531
Enthusiast
Enthusiast

Is it possible to get a list of all system variable names in current AutoCAD revision via AutoLISP codes? Thanks!

0 Likes
Accepted solutions (1)
4,846 Views
27 Replies
Replies (27)
Message 21 of 28

john.kaulB9QW2
Advocate
Advocate

A long time ago a few of us at theSwamp compiled most/all of the variables. 

another swamper
0 Likes
Message 22 of 28

sby0531
Enthusiast
Enthusiast
Good job! Maybe there are still other environment variables , for example, "PROCESSOR_ARCHITECTURE".
0 Likes
Message 23 of 28

john.kaulB9QW2
Advocate
Advocate
I'm sure there are but now, at least, you have a pretty good start to add to for your needs. You'd have to go to theSwamp and do a search for the thread(s). We had multiple programmers using multiple languages so I'm not positive you'll find it in the Lisp (only) forum. But, I know I had a list at one point; the code I gave you was just a baby version--I had a full-fledged GETTER/DIFFING, with a master list, "thing" at one point but like I said it can be a daunting task. In my CAD Mgr days, I created my own AtuoCAD installers (not sure if you can still do that now that everyone just uses the web installer thing) so when my end-users had major problems I just had them uninstall and reinstall AutoCAD and I had a custom program or two to save/restore things like their profile and these settings so they'd only be down about an hour.
another swamper
0 Likes
Message 24 of 28

Kent1Cooper
Consultant
Consultant

@sby0531 wrote:
... Maybe there are still other environment variables ....

Since, in the case of Environment Variables [unlike System Variables], you can create your own, there is no limit to how many there may be!

Kent Cooper, AIA
0 Likes
Message 25 of 28

sby0531
Enthusiast
Enthusiast
Yes, absolutely. Thank you.
0 Likes
Message 26 of 28

sby0531
Enthusiast
Enthusiast
Thank you for telling me so much about your work. I am developing my program on GETTER/DIFFING of sysvars and envars. Your codes has been of great help to me。Thanks again!
0 Likes
Message 27 of 28

gmomartinezF
Community Visitor
Community Visitor

I know you can do this:

1. From FIELD command dialog box, under Field  category pick 'Other'

2. Field Names will show -SystemVariable- amog others

3. Next to it you will be able to see the System Variable List.

 

Hopefuly you get what you want to find.

0 Likes
Message 28 of 28

vladimir_michl
Advisor
Advisor

In fact, this is not an AutoCAD-related environment variable. The list of all AutoCAD-related (= created by AutoCAD) environment variables can be found here:

https://www.cadforum.cz/en/envvariable.asp

 

Vladimir Michl, www.arkance.world  -  www.cadforum.cz

 

0 Likes