Hi all,
I'm not able to change the twistview for all layout or a specific one when i'm in model space.
(defun MVrotate (MviewHAndle MVangle)
(vla-put-TwistAngle
(vlax-ename->vla-object (cdr (assoc 330 (entget (handent MviewHAndle)))))
(- (read MVangle))
)
)
Note: the Mview is in fact a closed polyline, that why I use 330 code.
The code seem to work great in PaperSpace.
any help will be appreciated thank you.
also,...this will increase the theswamp database. (see below) :kewl: