Code Red > AutoLISP (Vanilla / Visual)

Looking for ACADENV variables

(1/1)

Andrea:
Hi all,...

I'm trying to found all ACADENV variables possibilities..
and also try to found all vlax-get variables possibilties..

Need to automate the custum setting here.. :x

eg:
(setq get1 (getenv "HideSystemPrinters"))

or

(setq Display (vla-get-Display (vla-get-Preferences AcadApp))
            Margins (vlax-get Display "LayoutDisplayMargins"))

If someone know how to get the current CTB ....please don't be shy to show me... :-)

you can also point me to the right link direction ?

thanks..





T.Willey:
The current ctb file is per layout.  To get it from the current layout use:

--- Code: ---(vla-get-StyleSheet
 (vla-get-ActiveLayout
  (vla-get-ActiveDocument
   (vlax-get-Acad-Object)
  )
 )
)

--- End code ---
You can check here for the enviroment setting you can change/get.

Andrea:
Hey !!  T.Willy..!!

That's great !!

thanks !!   :-)

T.Willey:
You're welcome.

Navigation

[0] Message Index

Go to full version