ifcopenshell.api.pset_template.remove_pset_template

Module Contents

ifcopenshell.api.pset_template.remove_pset_template.remove_pset_template(file: ifcopenshell.file, pset_template: ifcopenshell.entity_instance) None

Removes a property set template

All property templates within the property set template are also removed along with it.

Parameters:

pset_template (ifcopenshell.entity_instance) – The IfcPropertySetTemplate to remove.

Returns:

None

Return type:

None

Example:

# Create a template.
template = ifcopenshell.api.pset_template.add_pset_template(model, name="ABC_RiskFactors")

# Let's remove the template.
ifcopenshell.api.pset_template.remove_pset_template(model, pset_template=template)