Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

blender change text during animation

import bpy

scene = bpy.context.scene
obj = scene.objects['Text']

def recalculate_text(scene):
    obj.data.body = 'Current frame: ' + str(scene.frame_current)

bpy.app.handlers.frame_change_pre.append(recalculate_text)
Comment

PREVIOUS NEXT
Code Example
Python :: call javascript function flask 
Python :: amazon redshift 
Python :: python run linux command and get output 
Python :: how to add a 2d array to one dataframe colum 
Python :: python list intersection 
Python :: how to for loop in python stackoverflow 
Python :: pandas heading 
Python :: python align output 
Python :: Python Tkinter CheckButton Widget Syntax 
Python :: randint 
Python :: python dict items 
Python :: python function create null matrix 
Python :: what is best app for Python 
Python :: python - convert a list column into miltiple columns 
Python :: argparse type 
Python :: how to code a funtion in python 
Python :: dictionary multiple values per key 
Python :: Subtract different times in Python 
Python :: tree in python 
Python :: como instalar python en ubuntu 20.04 
Python :: += in python 
Python :: discord py server.channels 
Python :: python math packege power e 
Python :: sum up list python 
Python :: list all files in a folder 
Python :: django url with slug 
Python :: python get value from list 
Python :: lambda functions python 
Python :: Remove an element from a Python list Using remove() method 
Python :: Python NumPy split Function Syntax 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =