Making a script stop a render/network render until the script is okayed by a user
Hi all, I started this script
and as you can tell it's very basic. Tassel came up with a more user friendly version and i'd like to enhance my script.
What I'd like to achieve is when this script is added to the pre-render scripts area, the script halts rendering until the relevant buttons are pressed. I'll add a "Render" button to it, but forst you pick "Hide Bones" to hide them and when you click the render button, max then renders the image.
The scripts i attached to my upload dont have any use inteface and just run "behind the scenes". This was intentional so that a user can add them and forget them.
But now i'd like to add some functionality, but still keep the script able to be used in the pre-render area if possible. Presently, with Tassel's version loaded in, the script opens the dialog, but the render happens anyway before you've told it to hide/unhide bones.
So, is there a fumction i can use to halt rendering while the script is active?