Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Update this LISP for Display Plot Styles in 2012

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
mjs9199
1126 Views, 2 Replies

Update this LISP for Display Plot Styles in 2012

Attached LISP will toggle the 'Display Plot Styles' for all layout tabs or the current layout tab.  In 2010 it would not affect model space. 

 

With 2012, AutoCAD added 'Display Plot Styles' as an option on the model space tab.  This routine now affects that tab. 

 

Anyone know how to make it not change this setting for the model space tab?

2 REPLIES 2
Message 2 of 3
pbejse
in reply to: mjs9199

This

(vlax-for layout layouts
				(vla-put-ShowPlotStyles layout bvshow)
			)

to

 

(vlax-for layout layouts
			  	(if (/= (vla-get-name layout) "Model")
				(vla-put-ShowPlotStyles layout bvshow))
			)

 

Not tested on 2010 CAD or higher

 

HTH

 

Message 3 of 3
mjs9199
in reply to: pbejse

That worked! Thanks!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost