PDA

View Full Version : render cancelled variable value?


antonv
10-03-2005, 06:53 PM
Hi guys,

I'm trying form a script to see if the render was cancelled. If the render was started from the same script I get the value of the variable false when the render gets cancelled but if the render is started from the render dialog I don't get any value back.
I've looked into reference and the only thing I found was this:

bm = render cancelled:&wasCancelled

if (not wasCancelled) do ....


Am I doing something wrong or you cannot get that value when render is started from the rendering dialog?

Thanks,

Bobo
10-03-2005, 11:30 PM
Hi guys,

I'm trying form a script to see if the render was cancelled. If the render was started from the same script I get the value of the variable false when the render gets cancelled but if the render is started from the render dialog I don't get any value back.
I've looked into reference and the only thing I found was this:

bm = render cancelled:&wasCancelled

if (not wasCancelled) do ....


Am I doing something wrong or you cannot get that value when render is started from the rendering dialog?

Thanks,

This example works only with the render() method.
Render Dialog rendering is completely independent. Don't think there is a way to get notified whether it was cencelled or not.

antonv
10-04-2005, 03:27 AM
That's what I was thinking too. Thank you for the quick answer!

CGTalk Moderation
10-04-2005, 03:27 AM
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.