Setting Viewport with out going to Layout Tab

Setting Viewport with out going to Layout Tab

Anonymous
Not applicable
514 Views
3 Replies
Message 1 of 4

Setting Viewport with out going to Layout Tab

Anonymous
Not applicable

In our designs we constantly have to go to Different Layout Tabs and Change the Scale of the view port. I know how to make that change but i was wondering if there is a way to Change the View Port scale without having to got directly to the layout tab. Essentially if we name a Viewport: "Plot Plan 1" then i can run a command/macro to change the scale of "Plot Plan 1" without having to go directly that layout tab. I just need to know how to name a viewport so it updated when i run  command. 

0 Likes
515 Views
3 Replies
Replies (3)
Message 2 of 4

cadffm
Consultant
Consultant
If all wanted viewports on extra layer:
Select your Viewports with command FILTER
or perhaps SSX (from expresstools).

Or
(sssetfirst nil (ssget "_X" '((0 . "VIEWPORT")(8 . "Plo Plan 1"))))

And use PropertiePalette to edit your scale.

Sebastian

Message 3 of 4

Kent1Cooper
Consultant
Consultant

You can name a Model-space Viewport, or you can name a defined View, but I don't think you can give a name to a Viewport in a Layout.  [Or I haven't found a way to, in some quick testing in Acad2016 -- I wondered about newer versions, but Help for 2018 says "You cannot save and name a layout viewport configuration."]  Unless there's something I don't know, do you mean the Layout  is named "Plot Plan 1" and you want to change the scale of the Viewport in it, assuming there's only one?

Kent Cooper, AIA
0 Likes
Message 4 of 4

Anonymous
Not applicable

The Scale of the Layout (Paper Space) is 1:1 which is fine. But My question, Which i think you answered, is if i can name a Viewport in Paper Space so i can Redefine the scale through a Macro.

 

Scenario:

I have a Layout Named: Layout 1

In there i have 1 View Port Centered on a Specific Detail that is a dynamic block where the visibility state can change the size of the detail on a per project basis.

That detail is set in place from my view port with a name "View1". 

If that detail changes size in model space to where it will no longer fit within the current viewport window.

Then i need to adjust the scale to the next view: "View2".

 

 

Because my details are standard i just need to adjust the viewport scale (or change the View). But I don't want to have to go to each page and update the scale.

 

Is this feasible. 

 

Thank you for your feedback. 

0 Likes