ifcopenshell.api.profile.remove_profile#

Module Contents#

class ifcopenshell.api.profile.remove_profile.Usecase(file, profile=None)#

Removes a profile

Parameters

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

Returns

None

Return type

None

Example:

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