1
$\begingroup$

the only thing I found in other addons is trying to save rendered image

import bpy
from sys import platform

nullpath = '/nul' if platform == 'win32' else '/dev/null'

img = bpy.data.images['Render Result']
active = img.render_slots.active_index
slots = ''

for i in range(0,len(img.render_slots)):
    img.render_slots.active_index = i
    try:
        img.save_render(nullpath)
        slots = slots + '1'
    except RuntimeError:
        slots = slots + '0'
        
img.render_slots.active_index = active
print(slots)

any else solution?

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.