mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
Hardcode context names, since there are unlikely to be many
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user