View Full Version : How can I kill proc?
Hi there,
Is there a way to kill proc without exiting Maya?
Thanks!
|
|
Robert Bateman
02-05-2008, 09:38 AM
use the progressWindow command
use the progressWindow command
Thank you RB!
It'll be a good idea to have a progressWindow for users for a long operation. :)
...However, I'm looking for something to terminate unexpected operations such as infinite loop while I'm coding. Something like Ctrl + D.
Omita
02-06-2008, 09:52 PM
I don't think you can do it without killing Maya. It's best to throw in a for() loop and have it fail after 1000 loops if you are unsure of your code. Or add a listener object via scriptJob to break out of your loop.
Look into "scriptJob"
-H
Thanks Omita!
scriptJob command seem bit high level to me, but it sure will be useful to keep in mind!
I guess I'll just have to be careful coding loop operation. ;)
Omita
02-08-2008, 09:40 PM
Also, when in doubt check the docs.
file:///C:/Program%20Files/Alias/Maya8.0/docs/Maya8.0/en_US/wwhelp/wwhimpl/js/html/wwhelp.htm
How can I stop a MEL script that is running?
Unfortunately, you cannot abort a MEL script while its running. The only thing you can do is undo the operation once its done.
CGTalk Moderation
02-08-2008, 09:40 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.