Notifications
Clear all
[Closed] newb copy groups
Aug 12, 2004 9:21 am
Hi,
I am trying to make 100 copies of a group ‘$Group01’ and move each to: new_X, new_Y, new_Z and apply new rotation: new_rot_X, new_rot_Y, new_rot_Z
this copies the group ‘$Group01’:
maxops.cloneNodes $Group01
now I am stuck on how to move each new group to a location: new_X, new_Y, new_Z and apply new rotation: new_rot_X, new_rot_Y, new_rot_Z
any ideas?
1 Reply
Aug 12, 2004 9:21 am
Hi,
you need array for new nodes (nNodes). Try this:
nNodes = #()
maxops.cloneNodes $Group01 newNodes:&nNodes
nNodes[1].pos = [newX,newY,newZ]
[size=2]rotate nNodes[1] (eulerangles rotX rotY rotZ)
[/size]