mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 10:59:17 +00:00
Use schema_identifier to get IFC4X3 schema more precisely
This commit is contained in:
@@ -257,7 +257,7 @@ class Attribute(Facet):
|
||||
return super().filter(ifc_file, elements)
|
||||
|
||||
results = []
|
||||
schema = ifcopenshell.ifcopenshell_wrapper.schema_by_name(ifc_file.schema)
|
||||
schema = ifcopenshell.ifcopenshell_wrapper.schema_by_name(ifc_file.schema_identifier)
|
||||
entities = {entity.name(): entity for entity in schema.entities()}
|
||||
|
||||
def ignore_subtypes(entity):
|
||||
|
||||
Reference in New Issue
Block a user