mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix #5256. Use layer collection visibility, not collection visibility to hide types.
This commit is contained in:
@@ -130,10 +130,11 @@ def main(
|
||||
if settings.drawing_guid:
|
||||
found_guid = False
|
||||
for f in files:
|
||||
try:
|
||||
try:
|
||||
f.by_guid(settings.drawing_guid)
|
||||
found_guid = True
|
||||
except: pass
|
||||
except:
|
||||
pass
|
||||
if not found_guid:
|
||||
raise ValueError(f"Unable to find guid {settings.drawing_guid!r}")
|
||||
sr.setElevationRefGuid(settings.drawing_guid)
|
||||
|
||||
Reference in New Issue
Block a user