Viewport Frame not showing and can't be QSelected

Viewport Frame not showing and can't be QSelected

patrick_murray9MZYA
Explorer Explorer
157 Views
4 Replies
Message 1 of 5

Viewport Frame not showing and can't be QSelected

patrick_murray9MZYA
Explorer
Explorer

For one of the viewports in the attached file the frame is not showing and the viewport can't be selected with QSelect. I also tried thawing all layers and the viewport frame still did not show up.  

0 Likes
Accepted solutions (1)
158 Views
4 Replies
Replies (4)
Message 2 of 5

pendean
Community Legend
Community Legend

@patrick_murray9MZYA Are you using MAP3D? This is not the forum for it, but since your file has this I might have done more than you wanted

pendean_0-1757356365215.png

 

I found these viewports in the two layouts (follow the blue dots), are you wanting more and elsewhere? Where if yes? Or just those two hidden ones that disappear when you try to manipulate them (but can be deleted)?

 

pendean_4-1757356947408.png

 

pendean_2-1757356461045.png

 

FYI I used FILTER command since I am not sure which QSELECT choices you made

pendean_3-1757356590577.png

 

0 Likes
Message 3 of 5

patrick_murray9MZYA
Explorer
Explorer

Hi @pendean,

 

The viewport giving me trouble is on the top left corner of the second tab (see below with the viewport selected). When I Qselect all viewports this viewport is not selected and the frame is not showing up.

 

patrick_murray9MZYA_2-1757357414398.png

 

 

 

 

0 Likes
Message 4 of 5

patrick_murray9MZYA
Explorer
Explorer

Also I am not using Map3D but a previous user of the drawings may have.

0 Likes
Message 5 of 5

paullimapa
Mentor
Mentor
Accepted solution

I used the attached lisp function and turned all regular vports from being invisible to visible and that worked

; vpi function sets visiblity of all standard vports
; Note: does not impact objects selected to become a vport or vports drawn as polygon
; Argument:
; flg = 1 visible , 0 = invisible
; Example:
; (vpi 0) ; sets all standard vports invisible
; (vpi 1) ; sets all standard vports visible
(defun vpi (flg / n ss)
  (vl-load-com)
  (if (setq ss(ssget "_X" '((0 . "VIEWPORT"))))
    (progn
      (setq n 0)
      (repeat (sslength ss)
        (vla-put-visible (vlax-ename->vla-object (ssname ss n)) flg)
        (setq n (1+ n))
      )
      (if (zerop flg)
       (princ"\nAll Standard Vports Set Invisible.")
       (princ"\nAll Standard Vports Set Visible.")
      )
    )
    (princ"\nNo Vports Found.")
  )
  (princ)
)
(princ "\nVPI function Loaded...does NOT impact objects selected to become a Vport or Vports drawn as Polygon.\n(vpi 0) = Sets All Standard Vports Invisible\n(vpi 1) = Sets All Standard Vports Visible")(princ)
(load"vpi")
(vpi 1)

But I cannot tell you what causes vports to suddenly become invisible in vanilla AutoCAD.

paullimapa_0-1757371752981.png

 

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos