BuildingInformationModel.add_or_get_material

BuildingInformationModel.add_or_get_material(material)

Add a material to the model or retrieve an existing instance of the same type.

Parameters:
material

A material.

Returns:
Material

The added or existing material.