Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

current view align with current ucs?

$
0
0

Hi Guys,

 

how can i know if the current view/display is align with the current ucs?

let's say i have rotate the ucs about z axis 45 degrees and make it plan

now i draw some things and then i change back to world

 

worlducs = 1

viewdir = 0,0,1

ucsxdir = 1,0,0

ucsydir = 0,1,0

 

but the display is still in the ucs z 45 (ucsfollow = 0)

set the view to PLAN current (now the view is aligned) but the system vars does not change.

 

found Tony's reply back from 2007 but couldn't figure out how this could solved it?

 

For a plan UCS, you would need to compare the VIEWDIR
system variable and the cross product of the UCSXDIR
and UCSYDIR system varaibles.

 

http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Is-Ucs-equal-to-World-or-View/m-p/2140966/highlight/true#M252321

 

 

Thanks in advance

Moshe

 


Viewing all articles
Browse latest Browse all 14319

Trending Articles