Hi, I would like to modify the ‘Expression’ of a driver with a script. Do you know how can I do this
Thanks
Thanks PKHG, someone just tell me a solution on the french forum. But I will look at your answer to see if it’s better.
S’il vous plaît le ‘link’ pour autre solution?
Voici le lien ( ‘link’ ) : BlenderClan
My armature’s name is ‘Rig’, the driver I want to modify is #121 (I counted in the drivers window), here is the script to access expression’s driver.
expr = bpy.data.objects['Rig'].animation_data.drivers.values()[121].driver.expression
Thanks
Merci bien! J’ai aussi registre chez blenderclan …