Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 2.1
edited by Bimit Administrator
on 04.02.2022, 17:11
on 04.02.2022, 17:11
Change comment:
There is no comment for this version
To version 4.1
edited by Bimit Administrator
on 08.02.2022, 15:23
on 08.02.2022, 15:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,6 +4,7 @@ 4 4 * getProfile 5 5 * getProjectModels 6 6 * getModelRevisions 7 +* getProjectTasks - получение списка всех задач проекта 7 7 * getElement 8 8 * getElements 9 9 * getGeometryElement ... ... @@ -19,4 +19,92 @@ 19 19 * getProjectCollisions 20 20 * getModelCollisions 21 21 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 +(% class="box" %) 31 +((( 32 +**getProjectTasks** - получение списка всех задач проекта 33 +))) 34 + 35 +**getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру: 36 + 37 +поле тип данных поля описание поля метод взяти\ данных поля 38 + 39 +((( 40 +(% cellspacing="0" style="border-collapse:collapse; border:none; width:539px" %) 41 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 42 +(% style="line-height:1.2" %) 43 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid 44 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 45 +(% style="line-height:1.2" %) 46 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid 47 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 48 +(% style="line-height:1.2" %) 49 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор задачи 50 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 51 +(% style="line-height:1.2" %) 52 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getUuid() 53 +))) 54 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 55 +(% style="line-height:1.2" %) 56 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)title 57 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 58 +(% style="line-height:1.2" %) 59 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string 60 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 61 +(% style="line-height:1.2" %) 62 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок задачи 63 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 64 +(% style="line-height:1.2" %) 65 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTitle() 66 +))) 67 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 68 +(% style="line-height:1.2" %) 69 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)name 70 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 71 +(% style="line-height:1.2" %) 72 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string 73 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 74 +(% style="line-height:1.2" %) 75 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование задачи 76 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 77 +(% style="line-height:1.2" %) 78 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getName() 79 +))) 80 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:129px" %)((( 81 +(% style="line-height:1.2" %) 82 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)description 83 +)))|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:127px" %)((( 84 +(% style="line-height:1.2" %) 85 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string 86 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:138px" %)((( 87 +(% style="line-height:1.2" %) 88 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание задачи 89 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:145px" %)((( 90 +(% style="line-height:1.2" %) 91 +(% style="color:#000000; font-family:Arial; font-size:13pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDescription() 92 +))) 93 +))) 94 + 95 +Пример использования 96 + 97 +{{code language="java"}} 98 +def listTasks = bim.getProjectTasks() 99 +for (Task task: listTasks ) { 100 + def taskUuid= task.getUuid() 101 + 102 + // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” 103 +} 104 +{{/code}} 105 + 106 + 22 22 108 + 109 + 110 + 111 +