Изменения документа Интерфейс bim
Редактировал(а) Bimit Administrator 20.11.2025, 09:13
От версии 68.17
отредактировано Bimit Administrator
на 17.07.2023, 11:56
на 17.07.2023, 11:56
Изменить комментарий:
К данной версии нет комментариев
К версии 68.18
отредактировано Bimit Administrator
на 17.07.2023, 11:57
на 17.07.2023, 11:57
Изменить комментарий:
К данной версии нет комментариев
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -2349,9 +2349,24 @@ 2349 2349 2350 2350 {{code language="java"}} 2351 2351 def conditionWall = bim.createCondition("class", "eq", "IfcWall") 2352 -def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") 2353 -bim.showElements(conditionWall | conditionDoor ) 2354 - 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 +] 2355 2355 {{/code}} 2356 2356 2357 2357 (% class="box infomessage" %)