How can I kill proc?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2008   #1
How can I kill proc?

Hi there,

Is there a way to kill proc without exiting Maya?

Thanks!
 
Old 02 February 2008   #2
use the progressWindow command
 
Old 02 February 2008   #3
Originally Posted by Robert Bateman: 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.
 
Old 02 February 2008   #4
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
__________________
Software Engineer

Last edited by Omita : 02 February 2008 at 06:11 PM.
 
Old 02 February 2008   #5
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.
 
Old 02 February 2008   #6
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

Quote: 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.

__________________
Software Engineer
 
Old 02 February 2008   #7
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:06 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.