From 6b53ebdc5e8396845c6118f301905dc925f28beb Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 1 Sep 2019 10:27:05 +1000 Subject: [PATCH] Hardcode context names, since there are unlikely to be many --- export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.py b/export.py index 768bad0302..fb9ed437e8 100644 --- a/export.py +++ b/export.py @@ -85,7 +85,7 @@ class IfcParser(): return class_name in ['IfcBuilding', 'IfcBuildingStorey', 'IfcSite'] # TODO: unhardcode def is_a_context(self, class_name): - return class_name in ['IfcProject', 'IfcProjectLibrary'] # TODO: unhardcode + return class_name in ['IfcProject', 'IfcProjectLibrary'] class IfcExporter(): def __init__(self, ifc_parser):