Set Viewport to Named View

Set Viewport to Named View

christianbaileypaulsen1
Advocate Advocate
1,685 Views
7 Replies
Message 1 of 8

Set Viewport to Named View

christianbaileypaulsen1
Advocate
Advocate

So a little background of what i do and why figuring out my question would make my job a lot easier. I work as a detailer in the tradeshow industry and i create floorplans and blueprints for booths at conventions. When working on a project we must layout something called a "booth orientation" that shows where our booth is compared to all the booths around it. This booth orientation viewport goes on every page. If we get the booth orientation before starting the project its very simple to do this viewport because when we create a new sheet we just copy it from the last page onto the new one. The problem is that sometimes we wont get the booth orientation from the project managers until the end of the project and then we must go back to every single page and update the viewport on each one. Which is very time consuming when we have 80+ page packages. We do things like create layer state profiles that make updating the layers simple and easy, which saves a lot of time. I want to make it even better though and i had an idea.

 

Say i open the view manager using the VIEW command. Then i create a new model view named "Booth orientation."

 

Is there any way that i can link a viewport to show the "Booth orientation" view? That way the viewport is linked, and if the booth orientation changes then all i would have to do is open the view manager and update the boundaries and the viewport would automatically update to the new view in paper space? Maybe its a long shot but i feel like linking a named view to a viewport isn't unrealistic.

 

To anyone who can help, thank you in advance. Even if you cant help, i appreciate you taking the time to read this.

0 Likes
1,686 Views
7 Replies
Replies (7)
Message 2 of 8

GrantsPirate
Mentor
Mentor

I would say that is what xrefs are for.  Create a file with a generic location drawing and xref that into all the drawings you create.  When you have the information you update just the location drawing and since it is already xrefed into all the drawings they will be updated when you open them again.

 

Or maybe I am not understanding your particular need.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

0 Likes
Message 3 of 8

christianbaileypaulsen1
Advocate
Advocate

Heres a little bit of a better explanation along with a simple example file of what im working with.

 

So my booth would be the one in the middle. The blue polylines are the surrounding booths. The orange line is a perfectly square polyline that we use to get our booth orientation.

 

Right now all the surrounding booth are drawn in because this is from a previous project. But most of the time we will create 50 pages of setup drawings and then the project manager will give us the hall layout at the end of the project.

 

The way we do booth orientation at the moment is very simple but can become time consuming and repetitive when working on large projects. Our current procedure is to go to your layout, double click into the booth orientation viewport, select your orange line, then type "Z" then enter for the ZOOM command, then type "O" then enter for OBJECT. This will make it to where that orange line fills the entire viewport which is the desired outcome. We then have to do this for every layout in the drawing.

 

When working on 40,000 sq ft, two story booths, our computers can start to get bogged down. Switching between layouts can sometimes take 1-2 minutes to load. So changing the booth orientation viewport on every single page in a drawing can take over 2 hours sometimes.

 

Maybe im trying to do something autocad isnt capable of but it doesnt seem impossible. I have a named model space view called "Booth Orientation". I then go into my layout and double click into the booth orientation viewport, i type in "view" for the VIEW command, select my "Booth Orientation" named view, click set current, click apply, then click Ok.

 

What im asking is there any way to link that viewport to where it always shows the "Booth Orientation" named view? Maybe a way to do it with blocks? Or a lisp?

 

I would like to be able get to the end of a project, go to go into model space, add all of my surrounding booths, update my orange line as required. Then type "view" for the VIEW command, select my "Booth Orientation" named view, click update boundaries, select my entire orange polyline, click apply, then click ok.

 

In theory, if on my layouts the booth orientation viewport is somehow "linked" to my "Booth Orientation" named view. Then they should all update to the new size without me having to spend hours going through every page.

 

We've explained to project managers that giving us the booth orientation in advance is super useful but sometimes they still don't, and sometimes its out of their control and they simply cant get it to use at the beginning of a project.

 

Sorry for the long post. I tried to be as detailed as possible. Call me crazy but linking a viewport to a named view should be possible, and if its not then i believe autocad should add it in the future. Otherwise, what are the named views really good for?


Excuse for the overuse of quotation marks and repetitive wording.

 

Thank you in advance!

0 Likes
Message 4 of 8

maratovich
Advisor
Advisor
Maybe so ?
 
Viewport copy.png
---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 5 of 8

Ed__Jobe
Mentor
Mentor

If you have 2018.1 or greater, you can use the new MVIEW command. See this screencast. (My screencast doesn't show up. Here is a link to it.)

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 6 of 8

christianbaileypaulsen1
Advocate
Advocate

If i use the mview command the way you show, i would still have to do that on every layout which would take more time than the way we do it now. Theres even an option when using the mview command, you type in "na" and it will let you insert a named model space view. That also would have to be done on each layout and would be less time efficient. 

0 Likes
Message 7 of 8

Ed__Jobe
Mentor
Mentor

I understand. There isn't much else unless you get into custom programming.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 8 of 8

christianbaileypaulsen1
Advocate
Advocate

Thank you for the answer. I havent checked if it will work or not. It seems a bit complicated. Even if it did work i know my manager and the production supervisor are not open to using addons or additional software.

0 Likes