ifcopenshell.api.layer.remove_layer
#
Module Contents#
- class ifcopenshell.api.layer.remove_layer.Usecase(file, layer=None)#
Removes a layer
All representation items assigned to the layer will remain, but the relationship to the layer will be removed.
- Parameters
layer (ifcopenshell.entity_instance.entity_instance) – The IfcPresentationLayerAssignment entity to remove
- Returns
None
- Return type
None
Example:
layer = ifcopenshell.api.run("layer.add_layer", model, Name="AI-WALL") ifcopenshell.api.run("layer.remove_layer", model, layer=layer)
- execute(self)#