CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 9352
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedPrint Styles

 Post Reply Post Reply
Author
james@cougar View Drop Down
Newbie
Newbie


Joined: 09.Oct.2007
Location: United Kingdom
Status: Offline
Points: 2
Direct Link To This Post Topic: Print Styles
    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
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post Posted: 09.Oct.2007 at 13:05
sure - e.g. by a LISP function:
 
(if (= (getvar "PSTYLEMODE") 0)(command "_CONVERTPSTYLES"))
Vladimir Michl (moderator)
Arkance Systems - arkance-systems.cz - Autodesk reseller
Back to Top
james@cougar View Drop Down
Newbie
Newbie


Joined: 09.Oct.2007
Location: United Kingdom
Status: Offline
Points: 2
Direct Link To This Post 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


Edited by james@cougar - 09.Oct.2007 at 13:36
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post 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 Systems - arkance-systems.cz - Autodesk reseller
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,342 seconds.