0 Members and 1 Guest are viewing this topic.
How can one find the angle between a local UCS and WCS? Is there a system variable for this angle?
(defun MeGetUcsAngle () (angle (trans '(0.0 0.0 0.0) 1 0) (trans '(1.0 0.0 0.0) 1 0) ))(defun MeTransAng2Ucs (Ang / OriPnt) (setq OriPnt '(0.0 0.0 0.0)) (angle (trans OriPnt 0 1) (trans (polar OriPnt Ang 1.0) 0 1) ))