Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 68.18
edited by Bimit Administrator
on 17.07.2023, 11:57
on 17.07.2023, 11:57
Change comment:
There is no comment for this version
To version 68.17
edited by Bimit Administrator
on 17.07.2023, 11:56
on 17.07.2023, 11:56
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2349,24 +2349,9 @@ 2349 2349 2350 2350 {{code language="java"}} 2351 2351 def conditionWall = bim.createCondition("class", "eq", "IfcWall") 2352 -def tasks = bim.getProjectTasks() 2353 - def taskAttachments = [] 2354 - for(def task : tasks) { 2355 - taskAttachments.push(bim.getTaskAttachments(task.uuid)) 2356 - } 2357 - 2358 - def uuids = [] 2359 - for (def attachments : taskAttachments) { 2360 - for (def attachment : attachments) { 2361 - if (attachment != null) 2362 - uuids.push(attachment.uuid) 2363 - } 2364 - } 2365 - def downloadLinks = bim.getFilesDownloadLinks(uuids) 2366 - console.info(downloadLinks) -> INFO [ 2367 -6201ced9-b873-4a7d-8266-537f1566c543.docx, 2368 -687ac450-75e2-42f6-9fbe-7c608912c079.png 2369 -] 2352 +def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") 2353 +bim.showElements(conditionWall | conditionDoor ) 2354 + 2370 2370 {{/code}} 2371 2371 2372 2372 (% class="box infomessage" %)