Add other variables into the notefield of the Stampinfo ?

Hi

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 bpy.data.scenes[“Scene”].cycles.samples but it doesn’t work.

Does anybody know how to put variables into the notefield ?

Kind regards
Alain

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

bpy.app.handlers.frame_change_pre.append(my_handler)

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

salutations

Cool thanks, works perfect :slight_smile:

Kind regards
Alain