mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-21 04:32:23 +00:00
Check Brick library location exists
This commit is contained in:
@@ -146,7 +146,7 @@ class BrickschemaReferencesData:
|
|||||||
for library in ifc.by_type("IfcLibraryInformation"):
|
for library in ifc.by_type("IfcLibraryInformation"):
|
||||||
if tool.Ifc.get_schema() == "IFC2X3":
|
if tool.Ifc.get_schema() == "IFC2X3":
|
||||||
results.append((str(library.id()), library.Name or "Unnamed", ""))
|
results.append((str(library.id()), library.Name or "Unnamed", ""))
|
||||||
elif ".ttl" in library.Location:
|
elif library.Location and ".ttl" in library.Location:
|
||||||
results.append((str(library.id()), library.Name or "Unnamed", ""))
|
results.append((str(library.id()), library.Name or "Unnamed", ""))
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user