Is it possible to determine programmatically the origin of an unnamed (current) UCS?
Or, in other words, how is it possible to determine if we are in WCS?
If the UCS is named, we can fetch its info from the UCS Collection, but no entry exists if the current UCS has not been named.
For a rotation, we can use the UCSXDIR & UCSYDIR system variables, but if the UCS is only displaced in X-Y from WCS (no rotation), these will be identical to values for WCS.
The only way method which occurs to me is:
Command: (trans '(0 0 0) 1 0)
(3.67394 5.66237 0.0)
Which will return (0.0 0.0 0.0) if the origin is WCS origin.
Then check for rotation using UCSXDIR or UCSYDIR.
I guess this works.. I was looking for some slick COM method, but do not find one.
Anyone else?