fix get_applicable_entities / get_applicable_types missing schema #6108

This commit is contained in:
Andrej730
2025-02-07 17:52:28 +05:00
committed by Dion Moult
parent a28070afef
commit 59dd105e99
11 changed files with 65 additions and 31 deletions
@@ -112,5 +112,7 @@ class Patcher:
def get_qto_templates(self, ifc_class: str) -> list[ifcopenshell.entity_instance]:
if ifc_class not in self.qto_template_cache:
self.qto_template_cache[ifc_class] = self.psetqto.get_applicable(ifc_class, qto_only=True)
self.qto_template_cache[ifc_class] = self.psetqto.get_applicable(
ifc_class, qto_only=True, schema=self.file.schema
)
return self.qto_template_cache[ifc_class]