Remove useless function

This commit is contained in:
Dion Moult
2019-09-01 10:26:54 +10:00
parent 153d6fe337
commit c2cb11c594
+1 -4
View File
@@ -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",