TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on September 13, 2017, 01:41:46 AM
-
How to rotate a selection set using vla-rotate.
-
You will have to iterate over the selection set and rotate each object separately.
-
Convert SS to list & use:
(defun GroupRotate (objects bpt ang)
(setq bpt (vlax-3D-point bpt))
(mapcar(function(lambda(x)
(vl-catch-all-apply 'vla-rotate (list x bpt ang))))
Objects)
)
-
Thanks.