Hey hey,
I’m very new to the blender API (so forgive the noob-ness) but have experience with python and the maya API.
I’m trying to write a simple batch script to attach alembic animation caches to a series of geometries using the mesh sequence cache modifier. It’s a simple for loop that needs to create the modifier then set the parameters.
Currently, i’m working through the documentation here: MeshSequenceCacheModifier(Modifier) - Blender Python API
I need to supply a CacheFile but I have been unable to initialize an instance.
It’s mentioned here (under heading Data Creation/Removal) that new data-blocks in the bpy API can’t be created by calling the class. Instead data is added and removed via methods on the collections. The problem is I cannot find the relevant method to create a Cache file.
If anyone is across this I’d really appreciate some guidance.
Cheers