TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on March 30, 2006, 11:07:40 AM
-
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..
-
The current ctb file is per layout. To get it from the current layout use:
(vla-get-StyleSheet
(vla-get-ActiveLayout
(vla-get-ActiveDocument
(vlax-get-Acad-Object)
)
)
)
You can check here (http://www.afralisp.co.za/lisp/enviro.htm)for the enviroment setting you can change/get.
-
Hey !! T.Willy..!!
That's great !!
thanks !! :-)
-
You're welcome.