diff --git a/src/ifcpatch/ifcpatch/recipes/PurgeData.py b/src/ifcpatch/ifcpatch/recipes/PurgeData.py index 0fc7ed4c44..33ecbfda71 100644 --- a/src/ifcpatch/ifcpatch/recipes/PurgeData.py +++ b/src/ifcpatch/ifcpatch/recipes/PurgeData.py @@ -173,3 +173,10 @@ class Patcher: for element in self.file.by_type("IfcProfileDef"): element.ProfileName = None + + for element in self.file.by_type("IfcShapeAspect"): + element.Name = None + element.Description = None + + for element in self.file.by_type("IfcPresentationLayerAssignment"): + self.file.remove(element)