2023-08-09 03:52 AM
Hi all.
Is it possible to perform coordinate transformation (e.g. add2, rotate2 ) in Macro?
MACRO OBJECT :
angleViewRot = 0
if dt then
rrr = REQUEST ("View_Rotangle", "", angleViewRot)
endif
totalRotate = (SYMB_ROTANGLE + angleViewRot) MOD 360
Rot2 totalRotate...
CALLER OBJECT/s:
! call macro object
! every unrotatable object i defined
Solved! Go to Solution.
2023-08-17 09:42 AM
The transformations done in the macro won't have an effect in the caller object. What you can do is calculate the transformation parameters and return them from the macro.
2023-08-17 09:42 AM
The transformations done in the macro won't have an effect in the caller object. What you can do is calculate the transformation parameters and return them from the macro.