From c2cb11c59438d8ed8c3282e43e3b2e7fb3685188 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 1 Sep 2019 10:26:54 +1000 Subject: [PATCH] Remove useless function --- export.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/export.py b/export.py index 2799bd11ca..768bad0302 100644 --- a/export.py +++ b/export.py @@ -97,7 +97,7 @@ class IfcExporter(): def export(self): self.file = ifcopenshell.open(self.template_file) self.set_common_definitions() - self.parse_objects_into_ifc_data() + self.ifc_parser.parse() self.create_rep_context() self.create_context() self.create_spatial_structure_elements(self.ifc_parser.spatial_structure_elements_tree) @@ -110,9 +110,6 @@ class IfcExporter(): # Owner history doesn't actually work like this, but for now, it does :) self.owner_history = self.file.by_type("ifcownerhistory")[0] - def parse_objects_into_ifc_data(self): - self.ifc_parser.parse() - def create_rep_context(self): self.ifc_rep_context = self.file.createIfcGeometricRepresentationContext( None, "Model",