Add other variables into the notefield of the Stampinfo ?


I would like to automaticly fill the Stamp-Notefield with more Information like the value of Samples.
See here:

I tried to put in the Pythoncode like[“Scene”].cycles.samples but it doesn’t work.

Does anybody know how to put variables into the notefield ?

Kind regards

Place the code in a frame_change handler and it seems to work.

import bpy

def my_handler(scene):
    # Use whatever string you like here.
    s = "Does this work on frame # %i" % scene.frame_current
    scene.render.stamp_note_text = s

did some script for reading and changing data for cycles
and all of these vars works nicely

not certan why you could not do it !

might be a bug


Cool thanks, works perfect :slight_smile:

Kind regards