Display full version of the post: Print Styles

james@cougar
09.10.2007, 12:11
Is there an easy way to set run the _ConvertPstyles command only if the pstylemode system variable is set to 0.
 
Thanks

Vladimir Michl
09.10.2007, 13:05
sure - e.g. by a LISP function:
 
(if (= (getvar "PSTYLEMODE") 0)(command "_CONVERTPSTYLES"))

james@cougar
09.10.2007, 13:36
Sorry, but does this also work in non lisp environments. I am currently using AutoCad LT 2000.
 
Many thanks
 
Jamesjames@cougar2007-10-09 13:36:25

Vladimir Michl
09.10.2007, 13:40
There are only limited customization tools in LT. But you can try to use a conditional Diesel expression in menu macros:
 
$M=$(if,$(=,$(getvar,pstylemode),0),_convertpstyles)