for i in selection do
(
i.rotation.x_rotation.controller.value = random 0 360
i.rotation.y_rotation.controller.value = random 0 360
i.rotation.z_rotation.controller.value = random 0 360
)
这是修改控制器的值,如果要直接用rotation的话
for i in selection do
(
in coordsys local i.rotation = (EulerAngles (random 0 360) (random 0 360) (random 0 360) )
)