TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on January 17, 2017, 06:50:42 AM

Title: Batch chspace
Post by: Andrea on January 17, 2017, 06:50:42 AM
Good morning everyone..

is any of you already did something who can switch inserted block in Layout to the Mview located onthe same Layout...
and apply this step for all Layouts in the drawing ?


Thank you.
Title: Re: Batch chspace
Post by: mailmaverick on January 20, 2017, 01:19:59 PM
Use :
(vla-put-viewporton (vlax-ename->vla-object (car (entsel))) :vlax-true)
(vla-put-viewporton (vlax-ename->vla-object (car (entsel))) :vlax-false)