How to disable warning messages

1 post / 0 new
Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57
How to disable warning messages

If you have ever created a script by copying code from the history or project overview you will know that if you run it and you haven't deleted your files you will get a warning asking you if you want to overwrite your file, so the code will stop each time and give you the warning.  If you want to disable these warnings you can add this line to the top of your code:

IgnoreWarning(True)

Now using this will overwrite any files with the same name so use with caution.