ifcopenshell.api.profile.remove_profile

Module Contents

ifcopenshell.api.profile.remove_profile.remove_profile(file: ifcopenshell.file, profile: ifcopenshell.entity_instance) None

Removes a profile

Parameters:

profile (ifcopenshell.entity_instance) – The IfcProfileDef to remove.

Returns:

None

Return type:

None

Example:

circle = ifcopenshell.api.profile.add_parameterized_profile(model,
    ifc_class="IfcCircleProfileDef")
circle = 1.
ifcopenshell.api.profile.remove_profile(model, profile=circle)