Re: [Maya-Python] Hierarchy selection not in alphabetical order

2016-09-07 Thread Justin Israel
On Thu, Sep 8, 2016 at 12:32 PM likage wrote: > > The latter part have sorted out my result in alphabetical order. Is there > anyway in which I can still make use of the latter method but while > maintaining the output result to be the same as the first (non-alphabetical > order)? Is this possibl

[Maya-Python] Hierarchy selection not in alphabetical order

2016-09-07 Thread likage
For example, I have 5 polygons in my scene.. Individual pieces in the following hierarchy: - abs_geo - std_geo - nor_geo - stz_geo - poly_geo If I shift-select from the first node to the last node, abs_geo to poly_geo and I run the following line: cmds.ls(sl = True) # Result