How to force physics modifier to read disk cache

I’m stuck with some physics problems.
I have a lot of scenes containing linked characters with hair dynamic and soft body physics.
Since they are linked I can’t bake the physics on disk from the UI but solved this by baking via python API and this works well (while the file stay open).
But once I reopen the file, of course the link “reset” the physics modifier, seeing it as unbaked and does not read from the local cache files on disk.

>>> linked_object.modifiers['Softbody'].point_cache.is_baked

How can I ‘force’ it to read the bake on disk though python when reopening the file ?
I hope rebaking all dynamics automatically everytime I open the file will not be the only way…

Please enlight me.

1 Like