Notifications
Clear all

[Closed] render cancelled variable value?

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:

[left]bm = render cancelled:&wasCancelled
[/left]
[left][color=blue]if[/color] ([color=blue]not[/color] wasCancelled) [color=blue]do[/color] …
[/left]

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

Thanks,

2 Replies
1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

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.

That’s what I was thinking too. Thank you for the quick answer!