TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ribarm on May 06, 2019, 08:22:13 AM
-
I can't find what is contoling display quality from min to max value, like shown in attached picture...
It seems there is no sys var for this, so then how to code for average value as shown...
LWDISPLAY sys var is contoling ON/OFF state, but I need also quality of display control...
Thanks, M.R.
-
(getenv "LineWeightDisplayScale")
-
Thanks, tombu, this is what I was looking for...
-
@tombu, I don't want to disturb, but do you happen to have in your library lisp for checking all defined environment variables... I have one, but in my list "LineWeightDisplayScale" isn't listed...
Neither in this list - there are no "LineWeightDisplayScale" : https://www.afralisp.net/archive/lisp/enviro.htm
That's one thing... The second is, do you happen to know where is stored variable for turning on/off hardware acceleration under AutoCAD?
Many thanks, M.R.
-
I figured out :
Command: (vl-cmdf "_.-GRAPHICSCONFIG" "_L" "_S" "_X") ;software acceleration
Command: (vl-cmdf "_.-GRAPHICSCONFIG" "_L" "_H" "_X") ;hardware acceleration
Still if you have a routine for environment variables listing (full listing), I'll be thankful if you share it...
Thanks...