Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Coordinates of a Viewport Are Very Large if the Viewport is in 3D Rotated View

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
JC_BL
558 Views, 3 Replies

Coordinates of a Viewport Are Very Large if the Viewport is in 3D Rotated View

I am trying to understand why the coordinates of the 4 corners of a viewport are ridiculously large if the viewport is viewing objects in 3D rotated view (such as viewing from South-East):

 

LowerLeftCoordinates Very Large.png

 

On the other hand, the same viewport viewing from Top / Front / Back / Left / Right has reasonable coordinates:

 

LowerLeftCoordinates Look Normal.png

I would like to know why the coordinates of the viewport can become so large.  And I also would like to know how we can calculate the very large coordinates.

 

I have a related post called "How to Find the 4 Corners of a Viewport in WCS _if_ the Viewport is at an Angle?".  But I have a feeling that the title of that post may be a bit too specific.  Therefore, I need to re-phrase the question to make the question more "general".

 

Please help.  Thanks in advance.

 

Jay Chan

Tags (2)
3 REPLIES 3
Message 2 of 4
JC_BL
in reply to: JC_BL

I hope someone can help me with this.  I am still stuck at this issue.

 

Please help.  Thanks.

 

Jay Chan

Message 3 of 4
JC_BL
in reply to: JC_BL

Seem like I need to set the UCS of the viewport in order to work with the coordinates conveniently.  I will see how this goes.

 

Jay Chan

Message 4 of 4
JC_BL
in reply to: JC_BL

Yes, indeed I need to set up UCS instead of trying to calculate the crazily large coordinate numbers.  I use this command to setup the UCS for the viewport:

 

(command "ucs" "view")

 

This works fine.  I should have thought of that.

 

Jay Chan

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

Post to forums  

Autodesk Design & Make Report

”Boost