ifcopenshell.api.geometry.remove_representation

Module Contents

ifcopenshell.api.geometry.remove_representation.remove_representation(file: ifcopenshell.file, representation: ifcopenshell.entity_instance) None

Remove a representation.

Also purges representation items and their related elements like IfcStyledItem, tessellated facesets colours and UV map.

Parameters:

representation (ifcopenshell.entity_instance) – IfcRepresentation to remove. Note that it’s expected that IfcRepresentation won’t be in use before calling this method (in such elements as IfcProductRepresentation, IfcShapeAspect) otherwise representation won’t be removed.

Returns:

None

Return type:

None