Re: [Maya-Python] Re: components in the selected order

2013-02-16 Thread Ted Charlton
I am sure I am late to the party here but with respect to the title of the thread, I wanted to make sure that this flag of cmds.ls got a mention. *orderedSelection*(*os*) *boolean* [image: create] List objects and components that are currently selected in their order of selection. This flag

Re: [Maya-Python] Re: components in the selected order

2013-02-16 Thread Bradon Webb
oh man am I glad you posted this. This makes life so much easier! thanks! -- 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

[Maya-Python] Re: components in the selected order

2013-02-10 Thread Bradon Webb
here is my best attempt to use scriptJob. this command is pretty frustrating. if you somehow loose the job number that's running I don't think there is a way to kill the job except to restart maya. http://pastebin.com/RCvEZSw9 my code its not working right because the variable job name

Re: [Maya-Python] Re: components in the selected order

2013-02-10 Thread Justin Israel
If you use a class, you can save state about the job id: http://pastebin.com/Xxq5MWz2 When you create the job, you save a private variable that can be recalled from the other class methods. -- justin On Mon, Feb 11, 2013 at 11:33 AM, Bradon Webb paraporta...@gmail.comwrote: here is my best

[Maya-Python] Re: components in the selected order

2013-02-09 Thread Bradon Webb
On Thursday, July 30, 2009 3:34:59 PM UTC-5, wilsimar wrote: thanks.. I think the scriptjob is the easy way. do you think you can post your code. I'm looking to do the same thing, get a list of selected edges in the order they are selected. I'm not sure I understand how to put the script

[Maya-Python] Re: components in the selected order

2009-07-30 Thread wilsimar
thanks.. I think the scriptjob is the easy way. --~--~-~--~~~---~--~~ http://groups.google.com/group/python_inside_maya -~--~~~~--~~--~--~---

[Maya-Python] Re: components in the selected order

2009-07-29 Thread Dean Edmonds
On Tue, Jul 28, 2009 at 17:49, Paul Molodowitchelron...@gmail.com 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. Depending upon the situation, it

[Maya-Python] Re: components in the selected order

2009-07-28 Thread Paul Molodowitch
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,

[Maya-Python] Re: components in the selected order

2009-07-28 Thread Nicklas Puetz
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 elron...@gmail.comwrote: Wilsimar - in short, maya simply doesn't keep track of that. If you want to, you have to do it