ifcopenshell.api.style.remove_styled_representation

Module Contents

ifcopenshell.api.style.remove_styled_representation.remove_styled_representation(file: ifcopenshell.file, representation: ifcopenshell.entity_instance) 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.style.remove_styled_representation(model, representation=representation)