Rendered Frame Dialog / VFB dialog close

How can I check if the Rendered Frame Dialog is open and if so, close it.

I tried searching for rendered frame dialog or virtual frame buffer dialog and null :(
Searching for dialog got me a lot but not this one :(

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

Look in "Bitmap Values": b

Look in "Bitmap Values":

b = bitmap 320 240
display b -- Opens a virtual frame buffer (VFB) displaying the image
unDisplay b -- Close the VFB associated with the bitmap if open
render outputFile:"frame.bmp" vfb:off -- turn off VFB

my recent MAXScripts RSS (archive here)

kaczorefx's picture

Well yeah, but my problem is

Well yeah, but my problem is I want to close the VFB after the rendering.
I want the rendering to perform with the VFB open so I can see what's beeing rendered but each subsequent render opens a new VFB, so after 20 frame rendering (each frame rendered separately) I get 20 VFB opened.

I need a way to close the current VFB after each rendering.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.