mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
sort select supertypes
This commit is contained in:
@@ -52,7 +52,7 @@ class Header(codegen.Base):
|
|||||||
x = list(select_super_types[nm.lower()])
|
x = list(select_super_types[nm.lower()])
|
||||||
for y in x:
|
for y in x:
|
||||||
x.extend(get_select_super_types(y))
|
x.extend(get_select_super_types(y))
|
||||||
return set(x)
|
return sorted(set(x))
|
||||||
|
|
||||||
for name, type in mapping.schema.enumerations.items():
|
for name, type in mapping.schema.enumerations.items():
|
||||||
short_name = name[:-4] if name.endswith("Enum") else name
|
short_name = name[:-4] if name.endswith("Enum") else name
|
||||||
|
|||||||
Reference in New Issue
Block a user