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 Tools Search this Thread Display Modes
  02 February 2008
How can I kill proc?

Hi there,

Is there a way to kill proc without exiting Maya?

  02 February 2008
use the progressWindow command
  02 February 2008
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.
  02 February 2008
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"

Software Engineer

Last edited by Omita : 02 February 2008 at 06:11 PM.
  02 February 2008
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.
  02 February 2008
Also, when in doubt check the docs.


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
  02 February 2008
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
Society of Digital Artists

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

All times are GMT. The time now is 07:26 AM.

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