TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on November 08, 2017, 07:39:06 AM
-
Hi
I have a Viewport which is rotated and I want to find its angle of rotation. When I run the command :
(setq ang (vla-get-TwistAngle (vlax-ename->vla-object (car (entsel)))))
it gives error. Please help.
-
Check if the entity is the VP and not the clipping boundary entity belonging to the VP.
)
(prompt "\nError: not a viewport ") )
-
Another to return the ename:
-
And another:
-
Thanks a lot. Problem Solved !!!