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.