Blender 2.8, Getting Script to Update a Driver

by user1544752   Last Updated October 19, 2019 23:15 PM - source

I have a for loop (A) that is updating a Custom Property (B) that is a driver for a Cube's X-location (C) which is supposed to update the Cube's location (D) and Export each incremental change to a .obj file, HOWEVER... The changes are not updating before the .obj is exported and the Cube in each of the seven exported .obj files is staying in the starting position.

I have tried bpy.context.evaluated_depsgraph_get() but it doesn't seem to be doing what people say it's supposed to do, which is work as a replacement for scene.update(), which doesn't work in Blender 2.8 anymore?

What am I missing?Cube Is not updating it's position

Tags : python drivers


Related Questions


Getting bpy.ops.anim.copy_driver_button() working

Updated March 28, 2017 19:15 PM

how to Get current driver variable value?

Updated May 21, 2017 13:15 PM

Python auto-execution disabled error

Updated February 17, 2016 01:06 AM

Driver Expression

Updated May 24, 2016 09:06 AM