I have a Maya scripting problem for those willing to look into it for me! I have 3 group nodes in my scene with relatively similarly named objects. When I call the list I created, it gives me names like "group|name" for the majority of all of the objects in the group node. I have one or two objects that don't use the…
That did the trick DireWolf. The name clash is from having multiple similar models (the look is different) and need to have the same names when we bring them into UE4 so they can be interchangeable.
s = pc.ls(orderedSelection=1) for i in range(len(s)): ____if '|' in str(s): ________s = str(s) ________continue ____temp = [str(s)] ____while pc.listRelatives(temp[0], p=1, f=1): ________temp.insert(0, str(pc.listRelatives(temp[0], p=1, f=1)[0])) ____s = '|'.join(temp) print s ug the formatting is gone. Replace underscore…