- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a scene with a number of group nodes. Each group node contains a unique number of individual meshes.
I would like to create a python script that takes the selected groups, creates a joint for each of the meshes inside the group, and appends the newly created joint to an array.
Let's say...
myJoints is the name of the joint array
and...
group1 contains 6 meshes
group2 contains 13 meshes
group3 contains 8 meshes
How would I go about appending the newly created joints to the array? Is there such a thing as a 2D array? Or an array of arrays?
Normally I might use something like:
myJoints.append(newJoint)
However, in this case I would want to have an array that holds multiple arrays, so I'd be inclined to do something like this, but it doesn't seem to work:
myJoints[i].append(newJoint)
Solved! Go to Solution.