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 depends on the value of the -tso/trackSelectionOrder flag of the selectPref command. If that flag is not enabled than this flag will return the same thing as the -sl/selection flag would. Cheers. On Sun, Feb 10, 2013 at 5:49 PM, Justin Israel <justinisr...@gmail.com>wrote: > 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.com>wrote: > >> 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 doesn't pass >> between the startScriptJob and endScriptJob functions. >> >> anyone have a slick way of doing this? >> >> there simply MUST be a better way to collect a selected component order! >> >> -- >> 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 python_inside_maya+unsubscr...@googlegroups.com. >> To post to this group, send email to python_inside_maya@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > 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 python_inside_maya+unsubscr...@googlegroups.com. > To post to this group, send email to python_inside_maya@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 python_inside_maya+unsubscr...@googlegroups.com. To post to this group, send email to python_inside_maya@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.