Author Topic: Viewport Boundary  (Read 3835 times)

0 Members and 1 Guest are viewing this topic.

Shoey

  • Mosquito
  • Posts: 8
  • I used to be indecisive but now I'm not quite sure
Viewport Boundary
« on: July 06, 2011, 02:12:53 PM »
Hi All,

When a polygon viewport has had its polyline boundary deleted and the result is a viewport without a boundary visible, is there a quick way to recreate the polyline viewport boundary?

Cheers
Shoey

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Viewport Boundary
« Reply #1 on: July 06, 2011, 02:14:38 PM »
Turn on or thaw the layer that the viewport is on.
CAD Tech

Shoey

  • Mosquito
  • Posts: 8
  • I used to be indecisive but now I'm not quite sure
Re: Viewport Boundary
« Reply #2 on: July 07, 2011, 03:15:02 AM »
Thanks for your reply Robdraw.

I should have mentioned that the layer the viewport is on is on and thawed in both global and paper space viewport states.

If you create a polygon viewport in an empty drawing and erase the associated polyline you are left with a viewport with no boundary. Try it!

An existing drawing we have has this problem, however we can resolve the problem as we have a bak-up of the previous revision which shows the polyline boundary so we can copy and paste this in.

Just wanting to know if there is a quick way to recreate the boundary. Lisp perhaps?

Im using AutoCAD 2011.

Cheers
Shoey

Rob...

  • King Gator
  • Posts: 3824
  • Take a little time to stop and smell the roses.
Re: Viewport Boundary
« Reply #3 on: July 07, 2011, 07:22:32 AM »
I can't recreate the problem and it seems my previous answer doesn't even apply. My ploygonal viewports are single objects. Nothing is left behind when I erase one. Not like the older AutoCADs where you had two objects, a viewport and a polygon. Are you sure that the viewport is still there and your not seeing a ghost of the one you just ereased?
CAD Tech

Shoey

  • Mosquito
  • Posts: 8
  • I used to be indecisive but now I'm not quite sure
Re: Viewport Boundary
« Reply #4 on: July 07, 2011, 05:28:08 PM »
Here's  how i recreate the problem - using AutoCAD 2011.

Create new drawing.
Go to paper space layout.
Draw a polygon viewport.
Use QSELECT command - Filter for polyline in Object Type list and hit OK.
Erase selected polyline.

You should now be left with a viewport with no boundary visible.
You will be able to use and select this viewport in Qselect.

As mentioned, just querying if there is a way to recreate the boundary for the viewport.

Cheers
Shoey

Jeff_M

  • King Gator
  • Posts: 4100
  • C3D user & customizer
Re: Viewport Boundary
« Reply #5 on: July 07, 2011, 05:52:27 PM »

As mentioned, just querying if there is a way to recreate the boundary for the viewport.

If the drawing has not been closed before you want to get the boundary back, this works:
Code: [Select]
(setq elist (entget vport_ename))
(entdel (cdr (assoc 340 elist)))

However, once the drawing is saved, closed, opened, the VP still thinks it is clipped but the clipped boundary is no longer used...instead it is back to rectangular viewport.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Viewport Boundary
« Reply #6 on: July 08, 2011, 12:49:27 PM »
Hi All,

When a polygon viewport has had its polyline boundary deleted and the result is a viewport without a boundary visible, is there a quick way to recreate the polyline viewport boundary?

Cheers
Shoey
given that the boundary is/was erased, and the viewport remains, why would you want, or need the boundary back?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Shoey

  • Mosquito
  • Posts: 8
  • I used to be indecisive but now I'm not quite sure
Re: Viewport Boundary
« Reply #7 on: July 13, 2011, 01:21:40 PM »
Thanks for all replies.

I would have liked the viewport boundary back because (in my own opinion) working inside a viewport without a boundary does'nt feel or look right. This minor issue does'nt stop me from continuing with my work though!

Cheers
Shoey