ifcopenshell.api.profile.edit_profile
¶
Module Contents¶
- ifcopenshell.api.profile.edit_profile.edit_profile(file: ifcopenshell.file, profile: ifcopenshell.entity_instance, attributes: dict[str, Any]) None ¶
Edits the attributes of an IfcProfileDef
For more information about the attributes and data types of an IfcProfileDef, consult the IFC documentation.
- Parameters:
profile (ifcopenshell.entity_instance) – The IfcProfileDef entity you want to edit
attributes (dict) – a dictionary of attribute names and values.
- Returns:
None
- Return type:
None
Example:
circle = ifcopenshell.api.profile.add_parameterized_profile(model, ifc_class="IfcCircleProfileDef") circle = 1. ifcopenshell.api.profile.edit_profile(model, profile=circle, attributes={"ProfileName": "1000mm Dia"})