Hey guys,
I have a project I am working on and I desperately need a script to finish it.
I used xgen to populate a bunch of trees in my scene. I exported them to polygons. Now in Maya, the groups in the outliner look like this:
xgPrim76_0_ForestTrees_Mid
xgPrim76_1_ForestTrees_Mid
xgPrim76_2_ForestTrees_Mid
xgPrim77_0_ForestTrees_Mid
xgPrim77_1_ForestTrees_Mid
xgPrim77_2_ForestTrees_Mid
All the way down to xgPrim900 and something. I need to group every 3 and rename them with a different name.
Any ideas in how to do this? I know some Python and MEL but I’ve never done this before.
Thank you!
