PDA

View Full Version : viewport ontop of viewport!



Jennifer.Cooke
2009-04-17, 02:36 PM
I have a drawing with a viewport of a floorplan. I would like to have a smaller viewport ONTOP of the overall plan showing a magnified view of the area. I want the smaller viewport to hide what's behind it on the overall. This is something I haven't come across because you wouldn't do this for design, but it's for presentation purposes.

Does anyone know how to do this? I can only compare it to images which are set not to transparent. I feel like there must be some way to do this.

HELP!

cadtag
2009-04-17, 02:46 PM
nope

what you can do is clip your underlying viewport around the inset viewport.

jaberwok
2009-04-17, 03:34 PM
Make two rectangles, convert them to regions, subtract one from the other, make a viewport from the region (MV/ Object).
Place a simple viewport in the space.

TerribleTim
2009-04-17, 04:36 PM
Jennifer, I get what you are trying to do and I want to see if I can help. We've done some funky stuff like that in the past here.

So, the secret is this -
Draw the boundary of the first viewport (the big one of the whole plan) as a polyline and be sure it is shaped the way you want it with the hole in the middle of it for the second viewport. The key is to remember that polylines can always overlap other parts of their self. Then, when you type in "mview" to create a viewport, use the "select object" option to select your polyline with the hole in the middle of it.

Once you have that viewport the way you want it, make another viewport in the hole. :wink: Remember, you can get it close and then use the stretch tool to get it just right later.

Play around with that theory and see how you do. Hope that helps you out. :cool:

irneb
2009-04-20, 05:44 AM
Here's a solution which may work:

In Model Space (tab, i.e. TILEMODE=1), create a layer which will only be displayed in the smaller VP. Call it something like VP-Background. Make this layer current.
Draw a WIPEOUT on this layer over the area which you're going to show in the small VP.
Select the WIPEOUT, right-click Draw order --> Send to back.
Got to the Paper Space layout tab, enter the large VP (double click inside it) & VPFreeze the layer you created. Type PS to return to normal Paper Space.
Select the small VP, right-click Draw order --> Bring to Front.The Paper space display doesn't show properly, but check what happens in a plot preview 8)

tracy.findlater
2009-04-20, 10:48 AM
Jennifer, I get what you are trying to do and I want to see if I can help. We've done some funky stuff like that in the past here.

So, the secret is this -
Draw the boundary of the first viewport (the big one of the whole plan) as a polyline and be sure it is shaped the way you want it with the hole in the middle of it for the second viewport. The key is to remember that polylines can always overlap other parts of their self. Then, when you type in "mview" to create a viewport, use the "select object" option to select your polyline with the hole in the middle of it.

Once you have that viewport the way you want it, make another viewport in the hole. :wink: Remember, you can get it close and then use the stretch tool to get it just right later.

Play around with that theory and see how you do. Hope that helps you out. :cool:

yeah but you have to make the first viewport with the hole into a region, as Jaberwok says.

oh no, you mean use one single polyline to shape round the hole as well ? hmmm .. I suppose thats one way to do it *blink*

jaberwok
2009-04-20, 03:31 PM
yeah but you have to make the first viewport with the hole into a region, as Jaberwok says.

oh no, you mean use one single polyline to shape round the hole as well ? hmmm .. I suppose thats one way to do it *blink*

Tim's quite correct (though ambiguous) but the Region method is quicker.

nextvkin
2009-07-07, 11:34 PM
Came across this today - had to do a similar thing - found Tim's solution very useful as it allows the 'hole' to be moved, stretched, almost whatever. Thanks for that!