[Closed] Picking one out of many duplicate objects?
We apply mocap to characters in our scenes. Our bone structures must be all be named the same, ie character 1 has hips->lowertorso->chest, and character 2 has hips->lowertorso->chest.
if there were only one node named “hips” i would ref it by looking for $hips… bit what if there are two nodes named “hips”, how do i reference a specific one consistently? do i need to look in some kind of scene array and find an index?
any help?
ben
.handle : DWORD : Read
Gets the nodes handle. It provides a unique identifier independent from the objects name.
thx for that… definitely works.
is there any way to select by inode.handle without looking at every object and comparing?
maxOps.getNodeByHandle <number>
Returns the node associated with the id passed in.
Note: It is safer to say $box01.inode.handle than $box01.handle. This is to prevent cases where the baseobject has property called handle, like a teapot, and you get that objects handle instead of the node handle.