ifcopenshell.api.style.remove_styled_representation

Module Contents

ifcopenshell.api.style.remove_styled_representation.remove_styled_representation(file, representation=None) None

Removes a styled representation

Styled representations are typically associated with materials. This removes the representation but not the underlying styles.

Parameters:

representation (ifcopenshell.entity_instance) – The IfcStyledRepresentation to remove.

Returns:

None

Return type:

None

Example:

# Remove a styled representation
ifcopenshell.api.run("style.remove_styled_representation", model, representation=representation)