Author Topic: LWSETTINGS control  (Read 419 times)

0 Members and 1 Guest are viewing this topic.

ribarm

  • Water Moccasin
  • Posts: 2197
  • Marko Ribar, architect
LWSETTINGS control
« 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.
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

tombu

  • Newt
  • Posts: 159
  • ByLayer=>Not0
Re: LWSETTINGS control
« Reply #1 on: May 06, 2019, 08:45:51 AM »
Code: [Select]
(getenv "LineWeightDisplayScale")
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

ribarm

  • Water Moccasin
  • Posts: 2197
  • Marko Ribar, architect
Re: LWSETTINGS control
« Reply #2 on: May 06, 2019, 08:56:15 AM »
Thanks, tombu, this is what I was looking for...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

ribarm

  • Water Moccasin
  • Posts: 2197
  • Marko Ribar, architect
Re: LWSETTINGS control
« Reply #3 on: May 07, 2019, 06:50:10 AM »
@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.
« Last Edit: May 07, 2019, 07:46:56 AM by ribarm »
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

ribarm

  • Water Moccasin
  • Posts: 2197
  • Marko Ribar, architect
Re: LWSETTINGS control
« Reply #4 on: May 07, 2019, 08:01:49 AM »
I figured out :

Quote
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...
« Last Edit: May 07, 2019, 08:05:32 AM by ribarm »
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube