I make a animation of a cube that grows in size. I want to be able to render the changing values of the nearby text field. I see the numbers changing dynamically in the view-port but when I render out the final animation, the value doesn't change. Any advice?
import bpy scene = bpy.context.scene obj = scene.objects['Text'] def recalculate_text(scene): obj.data.body = 'The Size Of The Cube Is... ' + '\n' + str( round(bpy.data.objects['Cube'].scale, 2) ) bpy.app.handlers.frame_change_pre.append(recalculate_text)