- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
2014: Creating a hole in a viewport that actually works
Hi, so I'm making a hole in a viewport by drawing a polygonal viewport and drawing an outline of the main viewport and an outline of the area I want cut out, all in one (see cyan line in attached picture 1).
So I want to exclude the area in the bottom centre of the page, but include the area outside of that. In that hole, I would then draw another viewport.
In model space, to demonstrate the problem, I've written "THIS SHOULD SHOW UP" around the hole and "THIS SHOULD NOT SHOW UP" within the hole.
When I either export or print to PDF, the text behind the viewport shows up anyway (see attached picture 2 for PDF created).
Why doesn't my method of creatijng a viewport with a hole work? And how do I do it properly?
The workaround is obvious: move stuff around in the viewport so nothing is behind the hole, but I won't always be able to do this, so I need a proper solution really.
Cheers
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
The viewport will show whatever the viewport is looking at, you can control that be turning off the viewport, or excluding certain layers within that viewport. Or if you just want a blank box you can use a WIPEOUT. I hope this helps.
Mike Kingdon
Civil 3D Zealot
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
To make a viewport with a hole in it make sure both your rectangles are closed polylines. Use REGION command to turn them both into regions. Use SUBTRACT command and select the outer then subtract the inner from it. This gives you a region with a hole in it. In viewport command use object option and select this region. Now you have a viewport with a hole in it.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@steven-g wrote:The viewport in the attached layout was created with the Mview command, using a polyline for the outline. Put the polyline and viewport onto a non plotting layer and they won't print either.
It's weird how you seem to have done exactly what I'm trying to do, yet yours works and mine doesn't. I'll probably use the WIPEOUT or REGION/SUBTRACT commands in the future though, if this obvious way doesn't work again
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Mike Kingdon
Civil 3D Zealot
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
draw the shaped (as per grips highlighted)
use MVIEW command - Object - select the object.
This then becomes a viewport
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@M_Hensley wrote:To make a viewport with a hole in it make sure both your rectangles are closed polylines. Use REGION command to turn them both into regions. Use SUBTRACT command and select the outer then subtract the inner from it. This gives you a region with a hole in it. In viewport command use object option and select this region. Now you have a viewport with a hole in it.
Your comment so good, I screened it and "paste-specialed" it in the worksheet.
