Yes, I am thinking the MItDag would be the trick What I am trying to do is while traversing down a specified hierarchy of a DAG object, finding several objects containing a particular string/name within its children nested at different levels.Returning the name of those objects. However, I am guessing because the search essentially using a naming convention and not of a DAG type, maya.cmds would be a faster approach rather than using the MItDag method
-Jeremy On Wednesday, 6 November 2013 16:53:11 UTC+10, Jeremy YeoKhoo wrote: > > Hey guys, > > A relatively easy question for you Maya python API peeps. How would you > traverse down a hierarchy of a DAG node. Essentially if a hierarchy tree > has children of the same appended name, I want to duplicate a single tree > of that child for every children > > > Thanks > -Jeremy > -- 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/4e8a92a9-0f61-41e0-a88a-eec1f29f5874%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
