User Material database import via python API

Hi,

Within Sim4Life , custom materials can be created and saved in User x.x Database.
If I export this database, it creates a xxxx.db file.

Using the python API, is it possible to import this tissue database and use in a similar way as the built in databases (s4l_v1.material.database) ?

thank you,
redi

This is currently not available in 6.2 but will be in the next release.

XMaterials.ImportDatabase(file_path:str, db_name:str, db_version:str="", merge:bool=False)

To print the available databases you can run [db.Name for db in XMaterials.GetMaterialDatabase().AllDatabases]