Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 69.1
edited by Bimit Administrator
on 17.07.2023, 11:58
on 17.07.2023, 11:58
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
-
... ... @@ -2348,24 +2348,10 @@ 2348 2348 **Пример использования:** 2349 2349 2350 2350 {{code language="java"}} 2351 -def tasks = bim.getProjectTasks() 2352 - def taskAttachments = [] 2353 - for(def task : tasks) { 2354 - taskAttachments.push(bim.getTaskAttachments(task.uuid)) 2355 - } 2356 - 2357 - def uuids = [] 2358 - for (def attachments : taskAttachments) { 2359 - for (def attachment : attachments) { 2360 - if (attachment != null) 2361 - uuids.push(attachment.uuid) 2362 - } 2363 - } 2364 - def downloadLinks = bim.getFilesDownloadLinks(uuids) 2365 - console.info(downloadLinks) -> INFO [ 2366 -6201ced9-b873-4a7d-8266-537f1566c543.docx, 2367 -687ac450-75e2-42f6-9fbe-7c608912c079.png 2368 -] 2351 +def conditionWall = bim.createCondition("class", "eq", "IfcWall") 2352 +def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") 2353 +bim.showElements(conditionWall | conditionDoor ) 2354 + 2369 2369 {{/code}} 2370 2370 2371 2371 (% class="box infomessage" %) ... ... @@ -2375,11 +2375,9 @@ 2375 2375 2376 2376 * **bim.editTokenExpiredDate()** 2377 2377 **Пример использования:** 2378 - 2379 2379 {{code language="java"}} 2380 2380 UUID uuid = UUID.fromString('94e8e236-510b-4325-8b3a-15e317924bb2') 2381 2381 bim.editTokenExpiredDate (uuid, 2) 2382 - 2383 2383 {{/code}} 2384 2384 2385 2385 (% class="box infomessage" %)