Is there any way to write a mel script that would add a sphere to a group (parent and child) that only had one object or one group throughout the entire outliner. Or if i could set how many levels deep to go would be nice...
Example:
Group1
Group2 <---- This group does need a sphere
Cube_Poly
Group3 <---- This group does need a sphere
Group4 <---- This group does need a sphere
Cube_Poly
Group5 <--- Nothing needed (has more than 1 group or poly)
Cube_Poly
Cube_Poly1
Group6 <---- Nothing needed (has more than 1 group or poly)
Cone_Poly
Cone_Poly
Thank you,
~Matt