On Thu, Sep 8, 2016 at 12:32 PM likage <[email protected]> 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 possible?
>

Your first example is just maintaining selection order, right?

In the case of the command cmds.select("*_geo"), how is the API supposed to
make assumptions about a particular visual representation in your view (a
UI concept)? It is performing a selection from a completely code-based
perspective. This is similar to a glob, such as when you do "ls *.ext" to
list files in a shell. Should Maya assume you want breadth-first ordering?
Depth-first ordering? Where should it take the cues from? What is the
preferred selection order of a glob of matching names? Seems they just
settled on a sorted result, without having any visual cues to know.

That being said, maybe someone here knows of an addition step you could
take to resort the objects.



> --
> 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/2fd491d1-8fa5-4c05-8ad8-fcb5bae661a2%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/2fd491d1-8fa5-4c05-8ad8-fcb5bae661a2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPGFgA20p2%2BYeniu5OOG%3DRq6JT2NJ14kyjTdR93ncqF7B4KexQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to