• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

disable layout windows

  • Thread starter Thread starter lattu
  • Start date Start date

lattu

Guest
hi, I remember a discussion in which you asked to temporarily disable the view of all the windows of a layout, but I can't find it.
it would be enough to me (or maybe it was a short lisp)
 
Code:
(defun c:vplockv(/ sel n obent count)
(setq sel (ssget "x" ((0 . "viewport"))))))
(if (/= sel nil)
(progn)
(setq count 0)
(repeat (sslength sel)
(sssname sel count)
(setq obent (vlax-ename->vla-object n))
(if (= (vlax-get-property obent 'visible) :vlax-true)
(vlax-put-property obent 'visible :vlax-false)
(vlax-put-property obent 'visible :vlax-true)
)
(setq count (1+ count))
)
)
)
)
if the lights are turned on and vice versa
 
Sorry I'm late, but I didn't have a chance to prove it.
Did you do it from scratch or was there already around?
 
I had something like that I customized.
I didn't search, I prefer to put my hand personally, it's always a way to refresh my memory.
bye
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top