Would MItDag possibly w/ MSelectionList be what you are looking for to find
and traverse?

MItDag<http://download.autodesk.com/global/docs/mayasdk2012/en_us/index.html?url=cpp_ref/class_m_it_dag.html,topicNumber=cpp_ref_class_m_it_dag_html>
MSelectionList<http://download.autodesk.com/global/docs/mayasdk2012/en_us/index.html?url=cpp_ref/class_m_selection_list.html,topicNumber=cpp_ref_class_m_selection_list_html>


On Wed, Nov 6, 2013 at 7:53 PM, Jeremy YeoKhoo <[email protected]> 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/e68f0135-5c94-4352-93f1-23f4677b624e%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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/CAPGFgA1m3VZ%3D5Lr0%2B9L4yXinKU5KUZELCw5CKp-OmbuWLfiueg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to