ifcopenshell.api.geometry.remove_representation#

Module Contents#

class ifcopenshell.api.geometry.remove_representation.Usecase(file, **settings)#

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

execute(self)#