Fix uses of ifcopenshell.file

This commit is contained in:
Andrej730
2026-08-03 13:18:15 +05:00
parent a86667d063
commit 26b412cff6
13 changed files with 26 additions and 26 deletions
@@ -462,7 +462,7 @@ def create_entity(type: str, schema: str = "IFC4", *args: Any, **kwargs: Any) ->
if fi := _global_ifc_models.get(schema.lower()):
pass
else:
fi = _global_ifc_models[schema.lower()] = file(schema=schema)
fi = _global_ifc_models[schema.lower()] = file(schema_identifier=schema)
return fi.create_entity(type, *args, **kwargs)