ifcopenshell.api.layer.edit_layer
#
Module Contents#
- class ifcopenshell.api.layer.edit_layer.Usecase(file, layer=None, attributes=None)#
Edits the attributes of an IfcPresentationLayerAssignment
For more information about the attributes and data types of an IfcPresentationLayerAssignment, consult the IFC documentation.
- Parameters
layer (ifcopenshell.entity_instance.entity_instance) – The IfcPresentationLayerAssignment entity you want to edit
attributes (dict, optional) – a dictionary of attribute names and values.
- Returns
None
- Return type
None
Example:
layer = ifcopenshell.api.run("layer.add_layer", model, Name="AI-WALL") ifcopenshell.api.run("layer.edit_layer", model, layer=layer, attributes={"Description": "All walls, based on the AIA standard."})
- execute(self)#