Another Way, Although not the Cleanest Way, is to Trace Through the Undo Stack to Figure Which Components Were Selected
On Tue, Jul 28, 2009 at 5:49 PM, Paul Molodowitch <[email protected]>wrote: > > Wilsimar - in short, maya simply doesn't keep track of that. If you > want to, you have to do it yourself, by setting a callback for > whenever the selection is changed, using scriptJob. > > Not the answer you were hoping for, I know... > > - Paul > > On Tue, Jul 28, 2009 at 3:53 PM, wilsimar<[email protected]> wrote: > > > > how to get selection list for components(vertex, edge, faces) in the > > order that was selected? > > ... print selected(flatten=True) or print selected() > > ... print ls(sl=True, flatten=True) > > returns the components in rising order..and not in the selected order. > > > > thanks. > > > > > > > > > > > > > -- Nicklas Puetz -------------------------------------------------- Character Technical Director Nickelodeon Animation Studios -------------------------------------------------- www.puetz3D.com 818-531-2739 --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
