Is this a bug or am I doing something wrong ?
The two following expressions should return the same result, but when changing the view (using 3dorbit or a predefined view), it looks like the direction property doesn't update.
(mapcar '-
(trans (getvar "viewdir") 1 0)
(trans '(0 0 0) 1 0)
)
(vlax-get (vla-get-ActiveViewport
(vla-get-ActiveDocument
(vlax-get-acad-object)
)
)
'Direction
)