Just a little bit more information.. If I change the latter portion of my
code to:
counter = 0
for item in listing:
counter = counter + 1
new_geos_parent_name = cmds.listRelatives(item, parent = True)
new_group_name = cmds.group(em = True, name = 'TEST_' + str(
counter) + '_GRP')
cmds.parent(new_geos_parent_name, new_group_name)
I will get 3 different groups created, each with an individual geometry
within them..
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/3ceb68cd-7b1b-488f-a3a7-fb39754e2c80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.