Re: Getting a list in user defined selection order

2013-03-14 Thread e . tekinalp
Am Donnerstag, 14. März 2013 10:34:31 UTC+1 schrieb e.tek...@gmx.de: > Hello everybody, > > > > I want to select components(vertices) in a particular Order with python. > > So when I create a list the main problem is, that maya is not listing the > verts in the correct selected order as I did.

Re: Getting a list in user defined selection order

2013-03-14 Thread Terry Reedy
On 3/14/2013 5:34 AM, e.tekin...@gmx.de wrote: Hello everybody, I want to select components(vertices) in a particular Order with python. So when I create a list the main problem is, that maya is not listing the verts in the correct selected order as I did. Here an example: I have selected fro

Re: Getting a list in user defined selection order

2013-03-14 Thread e . tekinalp
Ah sorry this is the correct snippet cmds.selectPref(tso = 1) vtx = cmds.ls(os = 1, flatten = 1) print vtx the other one wouldn't make any sense. :) -- http://mail.python.org/mailman/listinfo/python-list

Getting a list in user defined selection order

2013-03-14 Thread e . tekinalp
Hello everybody, I want to select components(vertices) in a particular Order with python. So when I create a list the main problem is, that maya is not listing the verts in the correct selected order as I did. Here an example: I have selected from a polySphere the following vtx [sphere.vtx400