mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
conversion rules for first citizin enum types #1276
This commit is contained in:
@@ -488,7 +488,10 @@ class SchemaClass(codegen.Base):
|
||||
for name, tys in subtypes.items():
|
||||
x.entity_subtypes(name, tys)
|
||||
|
||||
can_be_instantiated_set = set(list(mapping.schema.entities.keys()) + list(mapping.schema.simpletypes.keys()))
|
||||
can_be_instantiated_set = set(list(mapping.schema.entities.keys()) + \
|
||||
list(mapping.schema.simpletypes.keys()) + \
|
||||
list(mapping.schema.enumerations.keys()))
|
||||
|
||||
x.finalize(can_be_instantiated_set)
|
||||
|
||||
self.str = str(x)
|
||||
|
||||
Reference in New Issue
Block a user