Hello,
I'm trying to calculate new values: "ViewCenter/X" and "ViewCenter/Y" for viewport with TwistAngle different than 0.
How lisp is working:
- user select a viewport in paper space,
- next step is to enter distance to shift left or right, lat say 1"
- next we can transfer center of viewport to modelspace with awesome gile routines PCS2WCS.
Problem is that PCS2WCS returns point in WCS but to function:
(setpropertyvalue Ename "ViewCenter/X" Value)
we need to pass point, which includes TwistAnlge, points needs to be set to proper "viewport UCS".
When playing in model space we usually use
(getvar "UCSXDIR")
but how about in this case, when we are in paperspace?
Hope i'm clear.
Thanks
kruuger