[Maya-Python] Re: Issues with getting the root node of the hierarchy based on selection

2016-09-22 Thread yann19
Hi guys, Thanks for all the help rendered. -- 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 python_inside_maya+unsubscr...@googlegroups.

[Maya-Python] Re: Issues with getting the root node of the hierarchy based on selection

2016-09-21 Thread RĂ©mi Deletrain
it's possible to use pymel for get root. pm.selected()[0].root(). I use to function for get parent by type. The first it's for get all parent of my node. The second it's for check type of parent and break when i found my type. It's possible to transform this function for works with particular a