Message 1 of 5

Not applicable
03-25-2015
06:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Running into a roadblock with this script and can't figure out how to proceed. I have an inkling I should be using some kind of recurssive script, but just get lost when dealing with Nth dimensional arrays.
Sort these arrays of a delimited string names:
#("SelectionGroup","All")
#("SelectionGroup","Legs","IK")
#("SelectionGroup","Legs","Left","IK")
#("SelectionGroup","Legs","Right","IK")
#("SelectionGroup","Torso")
Into a single multi-dimensional array like this:
a_names[1] = "All"
a_names[2] = "Legs"
a_names[3][1] = "IK"
a_names[3][2] = "Left"
a_names[3][2][1] = "IK"
a_names[3][3] = "Right"
a_names[3][3][1] = "IK"
a_names[3] = "Torso"
Any suggestions?
Solved! Go to Solution.