ifcopenshell.api.constraint.edit_objective#

Module Contents#

class ifcopenshell.api.constraint.edit_objective.Usecase(file, objective=None, attributes=None)#

Edit the attributes of a objective

For more information about the attributes and data types of an IfcObjective, consult the IFC documentation.

Parameters
Returns

None

Return type

None

Example:

objective = ifcopenshell.api.run("constraint.add_objective", model)
ifcopenshell.api.run("constraint.edit_objective", model,
    objective=objective, attributes={"ConstraintGrade": "HARD"})
execute(self)#