export_materials_to_file#

Materials.export_materials_to_file(output_file)[source]#

Export all materials to a JSON or TOML file.

Parameters:
output_filestr

Full path and name of the JSON file to export to.

Returns:
bool

True when successful, False when failed.