Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Viewport - exact location where it is looking

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
zzz144
6359 Views, 11 Replies

Viewport - exact location where it is looking

zzz144
Advocate
Advocate

Is there a way to control where my viewport is looking at? other than by panning inside of it?

I'd like it to be focused at point xyz in model (or defined space). This is so that when I copy thr viewport to the next layout I can just adjust its focus a 100 feet over for the next floor plan..

 

I have a 100 floor plans and when I publish them in PDF and scroll down each one is off a tiny little 
I know how to do this one viewport at a time manually but it takes forever... Is there not some kind of a fast workaround? 

 

Thanks! 

 

0 Likes

Viewport - exact location where it is looking

Is there a way to control where my viewport is looking at? other than by panning inside of it?

I'd like it to be focused at point xyz in model (or defined space). This is so that when I copy thr viewport to the next layout I can just adjust its focus a 100 feet over for the next floor plan..

 

I have a 100 floor plans and when I publish them in PDF and scroll down each one is off a tiny little 
I know how to do this one viewport at a time manually but it takes forever... Is there not some kind of a fast workaround? 

 

Thanks! 

 

11 REPLIES 11
Message 2 of 12
Patchy
in reply to: zzz144

Patchy
Mentor
Mentor

Activate the VP, Zoom, center, type in scale, then x,y.

0 Likes

Activate the VP, Zoom, center, type in scale, then x,y.

Message 3 of 12
GrantsPirate
in reply to: zzz144

GrantsPirate
Mentor
Mentor
Accepted solution

Once you have one viewport set and then copy that with another layout enter the new viewport and use the -pan command, with ortho on pick and pull in the right direction and type 100', hit enter.


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.

Once you have one viewport set and then copy that with another layout enter the new viewport and use the -pan command, with ortho on pick and pull in the right direction and type 100', hit enter.


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.

Message 4 of 12
zzz144
in reply to: GrantsPirate

zzz144
Advocate
Advocate

wow great new command I learned today! 

wow great new command I learned today! 

Message 5 of 12
Anonymous
in reply to: GrantsPirate

Anonymous
Not applicable

I am wondering why AUTODESK doesn't provide a kind of "handle/point of a model space" that would be a property of a VP  (for instance: top right corner or center ).

 

True there is no such apparent property of VP.

 

But definitely it must have been coded in the software - otherwise how the software itself determines the position of the viewed elements inside the VP.

 

So I would like to call AUTODESK, please make this property visible for users and editable.

That would be a good improvement.

 

Same time it doesn't seem a difficult job for programmer to switch the hidden property visible.

 

 

0 Likes

I am wondering why AUTODESK doesn't provide a kind of "handle/point of a model space" that would be a property of a VP  (for instance: top right corner or center ).

 

True there is no such apparent property of VP.

 

But definitely it must have been coded in the software - otherwise how the software itself determines the position of the viewed elements inside the VP.

 

So I would like to call AUTODESK, please make this property visible for users and editable.

That would be a good improvement.

 

Same time it doesn't seem a difficult job for programmer to switch the hidden property visible.

 

 

Message 6 of 12
Alfred.NESWADBA
in reply to: Anonymous

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> point of a model space" that would be a property of a VP

>> (for instance: top right corner or center ).

Isn't this what you are looking for?

 

20210405_134102_0001.png

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes

Hi,

 

>> point of a model space" that would be a property of a VP

>> (for instance: top right corner or center ).

Isn't this what you are looking for?

 

20210405_134102_0001.png

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 7 of 12

christopher.pepin
Advocate
Advocate

That is the property they are looking for but it isn't part of the viewport and is only visible once you have switched over to model space. You can see in your property window that the type is no selection. It would be nice for it to be made visible through the property of the actual viewport, even better if it could be modified through said property.

0 Likes

That is the property they are looking for but it isn't part of the viewport and is only visible once you have switched over to model space. You can see in your property window that the type is no selection. It would be nice for it to be made visible through the property of the actual viewport, even better if it could be modified through said property.

Message 8 of 12

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> That is the property they are looking for but it isn't part of the viewport

>> It would be nice for it to be made visible through the

>> property of the actual viewport

This would mean that every time you do a PAN or ZOOM or ORBIT inside the viewport you always would need to leave the modelspace, change to paperspace and then select the viewport ... three clicks more.

 

But in case you want to select the viewport you can run this LISP statement to get the same values as I have shown in my previous screenshot:

(assoc 12 (entget (car (entsel))))

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes

Hi,

 

>> That is the property they are looking for but it isn't part of the viewport

>> It would be nice for it to be made visible through the

>> property of the actual viewport

This would mean that every time you do a PAN or ZOOM or ORBIT inside the viewport you always would need to leave the modelspace, change to paperspace and then select the viewport ... three clicks more.

 

But in case you want to select the viewport you can run this LISP statement to get the same values as I have shown in my previous screenshot:

(assoc 12 (entget (car (entsel))))

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 9 of 12
Anonymous
in reply to: christopher.pepin

Anonymous
Not applicable

Yes this is exactly what I mean.

 

0 Likes

Yes this is exactly what I mean.

 

Message 10 of 12
Anonymous
in reply to: Alfred.NESWADBA

Anonymous
Not applicable

Dear Alfred,

 

Thanks to your answer I noticed that:

- there is a strange behaviour of these properties (X center / Y center)

 

(1) while I select the VP

   >> X center / Y center - show the location of center of the VP border polyline,

   >> You can edit, it will move the VP up/down or left/right,

   >> (but it is not the functionality I am looking for)

 

but

(2) while I double-click the VP (let's say activate the model space from the layout page)

   >> the X center / Y center - show totaly different values,

   >> (these are probably the values that I'm looking for)

   >> they change when using PAN or ZOOM

   >> but I can't edit. It is not possible to type in

   >>  and when I'm back to paper space - I cannot see those values anymore.

 

I am working with many viewports on the same sheet (analysing options) and sometimes I need to change many of them - it would be good to have possibility to type those (2) values into Property Manager cell for each VP.

 

So far I keep using PAN for each VP and that's killing me.

 

0 Likes

Dear Alfred,

 

Thanks to your answer I noticed that:

- there is a strange behaviour of these properties (X center / Y center)

 

(1) while I select the VP

   >> X center / Y center - show the location of center of the VP border polyline,

   >> You can edit, it will move the VP up/down or left/right,

   >> (but it is not the functionality I am looking for)

 

but

(2) while I double-click the VP (let's say activate the model space from the layout page)

   >> the X center / Y center - show totaly different values,

   >> (these are probably the values that I'm looking for)

   >> they change when using PAN or ZOOM

   >> but I can't edit. It is not possible to type in

   >>  and when I'm back to paper space - I cannot see those values anymore.

 

I am working with many viewports on the same sheet (analysing options) and sometimes I need to change many of them - it would be good to have possibility to type those (2) values into Property Manager cell for each VP.

 

So far I keep using PAN for each VP and that's killing me.

 

Message 11 of 12
Alfred.NESWADBA
in reply to: Anonymous

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> It would be good to have possibility to type those (2)

>> values into Property Manager

Then you need to write your own tool, you might ask in any of these customization forums >>>there<<< (depending which of the API's best fit to your programming knowledge)

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes

Hi,

 

>> It would be good to have possibility to type those (2)

>> values into Property Manager

Then you need to write your own tool, you might ask in any of these customization forums >>>there<<< (depending which of the API's best fit to your programming knowledge)

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 12 of 12
GrantsPirate
in reply to: Anonymous

GrantsPirate
Mentor
Mentor

You can create a named view in MS and then insert that in PS.  This was added a few releases ago.

https://autode.sk/31PJybW


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

You can create a named view in MS and then insert that in PS.  This was added a few releases ago.

https://autode.sk/31PJybW


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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report