Files
test2/source
Joshua Leung 64a37fadf0 Adding support for adding copies of existing drivers to other animdata
blocks via PyAPI/RNA

For example:
ob = bpy.context.active_object # assumes default cube has some drivers
added already before running script
dst = bpy.data.objects["Camera"]

adt = dst.animation_data_create()
for driver in ob.animation_data.drivers:
    new_driver = adt.drivers.from_existing(driver)
2011-04-26 13:49:40 +00:00
..
2011-04-26 10:38:18 +00:00
2011-04-10 09:37:04 +00:00
2011-02-25 13:25:53 +00:00