Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: stopping scripts  (Read 3018 times)

rellik420

  • Sr. Member
  • ****
  • Posts: 652
    • View Profile
    • youtube channel
stopping scripts
« on: August 12, 2009, 10:36:23 am »

i just downloaded almost all of the scripts that raxx made availible. I get them to work pretty easily. but i hit a bump on how to stop them.  the debug window opens when i run a script. If i "X" out of it, it closes anim8or. if some1 knows what to do please let me know
Logged
h

Kubajzz

  • Flying Platypus
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 548
  • Little doggie ate my avatar...
    • View Profile
Re: stopping scripts
« Reply #1 on: August 12, 2009, 11:27:55 am »

For some reason you cannot close the console window without closing Anim8or. Just leave it open...  When the last line in the window starts with "exit script", the script execution is finished.

It is not usually possible to stop a running script. If the script execution takes too long, you have to wait or quit Anim8or. There are very few scripts that can be stopped, for example by creating an attribute with a specific name. See the header of each script file for a detailed information about its usage.

Some ASL scripts are very slow, especially when working with complex models. Slow scripts usually produce some output to the console window so you can see how fast it's going and you can guess how long it might take. However, this is not a general rule - the console window only shows you what the script author wanted you to see.

There are 2 good reasons to always save your file before running a script: you might have to quit Anim8or to abort the script and script operations cannot be undone.
Logged

rellik420

  • Sr. Member
  • ****
  • Posts: 652
    • View Profile
    • youtube channel
Re: stopping scripts
« Reply #2 on: August 12, 2009, 01:29:01 pm »

im afraid to save progress when a script is running. should i be?

it feels like it might currupt the file.

and if a script is running and you save it, when you close then open anim8or will the script restart or run from when it was last saved? or does it stop running?
Logged
h

Kubajzz

  • Flying Platypus
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 548
  • Little doggie ate my avatar...
    • View Profile
Re: stopping scripts
« Reply #3 on: August 12, 2009, 07:21:40 pm »

I said you should always save your project before running a script, not when a script is running.

I'm not sure what would happen if you saved your project while a script is running. I don't think there is a reason to do that...
Logged