Originally Posted by
gadjet
I have have a drawing with several layouts, not sure where it came from, but not from our office (we are using AutoCAD 2007). I need to manipulate some of the viewports, but can't seem to find them! In layout, I can see what is in the viewport, but not the viewport itself. With all layers on and thawed there is no viewport "border" to be seen or highlighted. I can make a viewport active and see how it is bounded, but in paperspace there is nothing. I have tried changing the color of layers with a color that might be hard to see, nothing. I'm stumped...anyone ever run into anything like this? Thanks for any suggestions...
Hi,
They may have their invisibility property set. I've run into this before. Try loading and running this:
Code:
(defun c:showvps (/ ss obj)
(vl-load-com)
(setq ss (ssget "X" '((0 . "VIEWPORT")(60 . 1))))
(if ss
(progn
(repeat (setq cnt (sslength ss))
(setq obj (vlax-ename->vla-object (ssname ss (setq cnt (1- cnt)))))
(vla-put-Visible obj acTrue)
)
)
(princ "\nNo Invisible Viewports")
)
(princ)
)
to see if it fixes it. Let us know if you need help loading and running it.
HTH