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
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)#