Replace Alembic Cache Files from py I need to change the FilePath of an already imported Alembic File Cache.

In the UI it is done from the Datablocks>Cache Files>File Path, but I need do it with PY + File Blend + New Path)


Search all cache files
List
Change filepath
Save


Any idea???
You can find this in the Python tooltip:



In this example I would change bpy.data.cache_files['3DSMAX_character_armature.abc'].filepath to point to the new Alembic file location.

Iterating over all Alembic caches can be done with for cfile in bpy.data.cache_files.values(): …