Print Page | Close Window

Print Styles

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=165
Printed Date: 13.May.2026 at 07:25


Topic: Print Styles
Posted By: james@cougar
Subject: Print Styles
Date 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



Replies:
Posted By: Vladimir Michl
Date Posted: 09.Oct.2007 at 13:05
sure - e.g. by a LISP function:
 
(if (= (getvar "PSTYLEMODE") 0)(command "_CONVERTPSTYLES"))


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: james@cougar
Date Posted: 09.Oct.2007 at 13:36
Sorry, but does this also work in non lisp environments. I am currently using AutoCad LT 2000.
 
Many thanks
 
James


Posted By: Vladimir Michl
Date Posted: 09.Oct.2007 at 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)


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner



Print Page | Close Window