Over 1.092.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply ![]() |
Author | |
james@cougar ![]() Newbie ![]() Joined: 09.Oct.2007 Location: United Kingdom Status: Offline Points: 2 |
![]() Posted: 09.Oct.2007 at 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 ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2104 |
![]() |
sure - e.g. by a LISP function:
(if (= (getvar "PSTYLEMODE") 0)(command "_CONVERTPSTYLES"))
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
james@cougar ![]() Newbie ![]() Joined: 09.Oct.2007 Location: United Kingdom Status: Offline Points: 2 |
![]() |
Sorry, but does this also work in non lisp environments. I am currently using AutoCad LT 2000.
Many thanks
James Edited by james@cougar - 09.Oct.2007 at 13:36 |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2104 |
![]() |
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)
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,172 seconds.