mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
Purge data recipe now also purges shape aspect names and layers.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user