ifcopenshell.api.constraint.unassign_constraint¶
Module Contents¶
- ifcopenshell.api.constraint.unassign_constraint.unassign_constraint(file: ifcopenshell.file, products: list[ifcopenshell.entity_instance], constraint: ifcopenshell.entity_instance) None¶
Unassigns a constraint from a list of products
The constraint will not be deleted and is available to be assigned to other products.
- Parameters:
products – The list of products the constraint applies to.
constraint – The IfcObjective constraint
- Returns:
None