ifcopenshell.api.style.remove_style
¶
Module Contents¶
- class ifcopenshell.api.style.remove_style.Usecase¶
- execute()¶
- purge_material_definition_representations(styled_representation)¶
- purge_styled_items(style)¶
- purge_styled_representations(styled_item)¶
- ifcopenshell.api.style.remove_style.remove_style(file, style=None) None ¶
Removes a presentation style
All of the presentation items of the style will also be removed.
- Parameters:
style (ifcopenshell.entity_instance) – The IfcPresentationStyle to remove.
- Returns:
None
- Return type:
None
Example:
# Create a new surface style style = ifcopenshell.api.run("style.add_style", model) # Not anymore! ifcopenshell.api.run("style.remove_style", model, style=style)