Wiki source code of Интерфейс bim
Version 48.1 by Bimit Administrator on 10.02.2022, 14:09
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.1 | 1 | Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы: |
2 | |||
![]() |
41.1 | 3 | * [[getProject>>||anchor="HgetProject"]] - взятие проекта на котором выполняется плагин |
![]() |
44.1 | 4 | * [[getProfile>>||anchor="HgetProfile"]] - получение данных о пользователе по его идентификатору Uuid |
5 | * [[getProjectModels>>||anchor="HgetProjectModels"]] - взятие всех активных моделей проекта на котором выполняется плагин | ||
![]() |
45.1 | 6 | * [[getModelRevisions>>||anchor="HgetModelRevisions"]] - взятие всех ревизий модели |
![]() |
40.1 | 7 | * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]] - получение списка всех задач проекта |
![]() |
48.1 | 8 | * [[getTaskComments>>||anchor="HgetTaskComments"]] - получение списка всех комментариев у задачи по идентификатору задача |
![]() |
2.1 | 9 | * getElement |
10 | * getElements | ||
11 | * getGeometryElement | ||
12 | * getGeometryElements | ||
13 | * getGeometryProject | ||
14 | * getGeometryModel | ||
15 | * getGeometryElementA | ||
16 | * getGeometryElementB | ||
17 | * showElements | ||
18 | * createGroupElements | ||
19 | * showGroupElements | ||
20 | * createCondition | ||
21 | * getProjectCollisions | ||
22 | * getModelCollisions | ||
23 | |||
![]() |
41.1 | 24 | ====== ====== |
![]() |
37.1 | 25 | |
![]() |
41.1 | 26 | ====== ====== |
27 | |||
![]() |
21.1 | 28 | (% class="box infomessage" %) |
![]() |
4.1 | 29 | ((( |
![]() |
41.1 | 30 | **getProject** - взятие проекта на котором выполняется плагин |
![]() |
35.1 | 31 | ))) |
![]() |
32.1 | 32 | |
![]() |
19.1 | 33 | * **bim.getProject() **- метод представляет следующую структуру |
![]() |
18.1 | 34 | |
![]() |
19.1 | 35 | ((( |
![]() |
39.1 | 36 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:835px" %) |
![]() |
19.1 | 37 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( |
38 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 39 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле |
![]() |
39.1 | 40 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 41 | (% style="line-height:1.2" %) |
![]() |
20.1 | 42 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля |
![]() |
39.1 | 43 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 44 | (% style="line-height:1.2" %) |
![]() |
20.1 | 45 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля |
![]() |
39.1 | 46 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 47 | (% style="line-height:1.2" %) |
![]() |
20.1 | 48 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля |
![]() |
19.1 | 49 | ))) |
50 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
51 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 52 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
39.1 | 53 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 54 | (% style="line-height:1.2" %) |
![]() |
20.1 | 55 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
39.1 | 56 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 57 | (% style="line-height:1.2" %) |
![]() |
20.1 | 58 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта |
![]() |
39.1 | 59 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 60 | (% style="line-height:1.2" %) |
![]() |
20.1 | 61 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getUuid() |
![]() |
19.1 | 62 | ))) |
63 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
64 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 65 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)alias |
![]() |
39.1 | 66 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 67 | (% style="line-height:1.2" %) |
![]() |
20.1 | 68 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 69 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 70 | (% style="line-height:1.2" %) |
![]() |
20.1 | 71 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)уникальное название английское |
![]() |
39.1 | 72 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 73 | (% style="line-height:1.2" %) |
![]() |
20.1 | 74 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAlias() |
![]() |
19.1 | 75 | ))) |
76 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
77 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 78 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)title |
![]() |
39.1 | 79 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 80 | (% style="line-height:1.2" %) |
![]() |
20.1 | 81 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 82 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 83 | (% style="line-height:1.2" %) |
![]() |
20.1 | 84 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок |
![]() |
39.1 | 85 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 86 | (% style="line-height:1.2" %) |
![]() |
20.1 | 87 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTitle() |
![]() |
19.1 | 88 | ))) |
89 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
90 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 91 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)description |
![]() |
39.1 | 92 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 93 | (% style="line-height:1.2" %) |
![]() |
20.1 | 94 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 95 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 96 | (% style="line-height:1.2" %) |
![]() |
20.1 | 97 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание |
![]() |
39.1 | 98 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 99 | (% style="line-height:1.2" %) |
![]() |
20.1 | 100 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDescription() |
![]() |
19.1 | 101 | ))) |
102 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
103 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 104 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)color |
![]() |
39.1 | 105 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 106 | (% style="line-height:1.2" %) |
![]() |
20.1 | 107 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 108 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 109 | (% style="line-height:1.2" %) |
![]() |
20.1 | 110 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)цвет метки проекта |
![]() |
39.1 | 111 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 112 | (% style="line-height:1.2" %) |
![]() |
20.1 | 113 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getColor() |
![]() |
19.1 | 114 | ))) |
115 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
116 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 117 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)preview |
![]() |
39.1 | 118 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 119 | (% style="line-height:1.2" %) |
![]() |
20.1 | 120 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 121 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 122 | (% style="line-height:1.2" %) |
![]() |
20.1 | 123 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на картинку превью проекта |
![]() |
39.1 | 124 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 125 | (% style="line-height:1.2" %) |
![]() |
20.1 | 126 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getPreview() |
![]() |
19.1 | 127 | ))) |
128 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
129 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 130 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate |
![]() |
39.1 | 131 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 132 | (% style="line-height:1.2" %) |
![]() |
20.1 | 133 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date |
![]() |
39.1 | 134 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 135 | (% style="line-height:1.2" %) |
![]() |
20.1 | 136 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания |
![]() |
39.1 | 137 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 138 | (% style="line-height:1.2" %) |
![]() |
20.1 | 139 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreateDate() |
![]() |
19.1 | 140 | ))) |
141 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
142 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 143 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)editDate |
![]() |
39.1 | 144 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 145 | (% style="line-height:1.2" %) |
![]() |
20.1 | 146 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date |
![]() |
39.1 | 147 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 148 | (% style="line-height:1.2" %) |
![]() |
20.1 | 149 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата последнего редактирования |
![]() |
39.1 | 150 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 151 | (% style="line-height:1.2" %) |
![]() |
20.1 | 152 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getEditDate() |
![]() |
19.1 | 153 | ))) |
154 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
155 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 156 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)profileUuid |
![]() |
39.1 | 157 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 158 | (% style="line-height:1.2" %) |
![]() |
20.1 | 159 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
39.1 | 160 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 161 | (% style="line-height:1.2" %) |
![]() |
20.1 | 162 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя автора проекта |
![]() |
39.1 | 163 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 164 | (% style="line-height:1.2" %) |
![]() |
20.1 | 165 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getProfileUuid() |
![]() |
19.1 | 166 | ))) |
167 | ))) | ||
168 | |||
![]() |
20.1 | 169 | **Пример использования:** |
![]() |
19.1 | 170 | |
![]() |
20.1 | 171 | {{code language="java"}} |
172 | def project = bim.getProject() | ||
173 | def editProjectDate = project.getEditDate() | ||
174 | console.info(editProjectDate.toString()) | ||
175 | // -> “INFO: 2022-01-01 01:01:12.567 +0300” | ||
176 | |||
177 | {{/code}} | ||
178 | |||
![]() |
21.1 | 179 | |
![]() |
41.1 | 180 | (% class="box infomessage" %) |
181 | ((( | ||
182 | **getProfile** - получение данных о пользователе по его идентификатору Uuid | ||
183 | ))) | ||
![]() |
24.1 | 184 | |
![]() |
41.1 | 185 | * **bim.getProfile(Идентификатор пользователя)** |
186 | |||
187 | **Пример использования:** | ||
188 | |||
189 | {{code language="java"}} | ||
190 | def profile = bim.getProfile(UUID.fromString(“ef952aa8-7ddc-11ec-90d6-0242ac120003") | ||
191 | def profileUuid= profile.getUuid() | ||
192 | |||
193 | // console.info(profileUuid.toString()) -> “INFO: ef952aa8-7ddc-11ec-90d6-0242ac120003” | ||
194 | {{/code}} | ||
195 | |||
196 | |||
197 | (% class="box infomessage" %) | ||
198 | ((( | ||
199 | **getProjectModels** - взятие всех активных моделей проекта на котором выполняется плагин) | ||
200 | ))) | ||
201 | |||
202 | * **bim.getProjectModels()** | ||
203 | |||
204 | **Пример использования:** | ||
205 | |||
![]() |
43.1 | 206 | {{code language="java"}} |
![]() |
47.1 | 207 | def listModels = bim.getProjectModels() |
![]() |
41.1 | 208 | for (Model model: listModels ) { |
209 | def modelUuid = model.getUuid() | ||
210 | |||
211 | // console.info(modelUuid .toString()) -> “INFO: 4e733308-7ddd-11ec-90d6-0242ac120003” | ||
![]() |
44.1 | 212 | } |
213 | {{/code}} | ||
![]() |
41.1 | 214 | |
215 | |||
![]() |
45.1 | 216 | (% class="box infomessage" %) |
217 | ((( | ||
218 | **getModelRevisions** - взятие всех ревизий модели | ||
219 | ))) | ||
220 | |||
221 | * **bim.getModelRevisions(Идентификатор модели)** | ||
222 | |||
223 | **Пример использования:** | ||
224 | |||
![]() |
46.1 | 225 | {{code language="java"}} |
226 | def listModelRevisions = bim.getModelRevisions(UUID.fromString(“4e733308-7ddd-11ec-90d6-0242ac120003”) | ||
227 | for (ModelRevision modelRevision: listModelRevisions ) { | ||
228 | def modelRevisionUuid= modelRevision.getUuid() | ||
![]() |
45.1 | 229 | |
![]() |
46.1 | 230 | // console.info(modelRevisionUuid .toString()) -> “INFO: 697ba2b6-7ddd-11ec-90d6-0242ac120003” |
231 | } | ||
![]() |
45.1 | 232 | |
![]() |
46.1 | 233 | {{/code}} |
234 | |||
235 | |||
![]() |
32.1 | 236 | === === |
![]() |
26.1 | 237 | |
![]() |
21.1 | 238 | (% class="box infomessage" %) |
![]() |
18.1 | 239 | ((( |
![]() |
31.1 | 240 | ====== **getProjectTasks** - получение списка всех задач проекта ====== |
![]() |
4.1 | 241 | ))) |
![]() |
3.1 | 242 | |
![]() |
5.1 | 243 | * **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру: |
![]() |
3.1 | 244 | |
![]() |
13.1 | 245 | ((( |
![]() |
40.1 | 246 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:850px" %) |
247 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
![]() |
13.1 | 248 | (% style="line-height:1.2" %) |
![]() |
17.1 | 249 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Поле ** |
![]() |
40.1 | 250 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 251 | (% style="line-height:1.2" %) |
![]() |
17.1 | 252 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Тип данных поля** |
![]() |
40.1 | 253 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
15.2 | 254 | (% style="line-height:1.2" %) |
![]() |
17.1 | 255 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Описание поля** |
![]() |
40.1 | 256 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 257 | (% style="line-height:1.2" %) |
![]() |
17.1 | 258 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля |
![]() |
14.1 | 259 | ))) |
![]() |
40.1 | 260 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 261 | (% style="line-height:1.2" %) |
![]() |
15.1 | 262 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 263 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
14.1 | 264 | (% style="line-height:1.2" %) |
![]() |
15.1 | 265 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 266 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
14.1 | 267 | (% style="line-height:1.2" %) |
![]() |
15.1 | 268 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор задачи |
![]() |
40.1 | 269 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
14.1 | 270 | (% style="line-height:1.2" %) |
![]() |
15.1 | 271 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getUuid() |
![]() |
13.1 | 272 | ))) |
![]() |
40.1 | 273 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 274 | (% style="line-height:1.2" %) |
![]() |
15.1 | 275 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)title |
![]() |
40.1 | 276 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 277 | (% style="line-height:1.2" %) |
![]() |
15.1 | 278 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 279 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 280 | (% style="line-height:1.2" %) |
![]() |
15.1 | 281 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок задачи |
![]() |
40.1 | 282 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 283 | (% style="line-height:1.2" %) |
![]() |
15.1 | 284 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTitle() |
![]() |
13.1 | 285 | ))) |
![]() |
40.1 | 286 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 287 | (% style="line-height:1.2" %) |
![]() |
15.1 | 288 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)name |
![]() |
40.1 | 289 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 290 | (% style="line-height:1.2" %) |
![]() |
15.1 | 291 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 292 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 293 | (% style="line-height:1.2" %) |
![]() |
15.1 | 294 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование задачи |
![]() |
40.1 | 295 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 296 | (% style="line-height:1.2" %) |
![]() |
15.1 | 297 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getName() |
![]() |
13.1 | 298 | ))) |
![]() |
40.1 | 299 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 300 | (% style="line-height:1.2" %) |
![]() |
15.1 | 301 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)description |
![]() |
40.1 | 302 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 303 | (% style="line-height:1.2" %) |
![]() |
15.1 | 304 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 305 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 306 | (% style="line-height:1.2" %) |
![]() |
15.1 | 307 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание задачи |
![]() |
40.1 | 308 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 309 | (% style="line-height:1.2" %) |
![]() |
15.1 | 310 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDescription() |
![]() |
13.1 | 311 | ))) |
![]() |
40.1 | 312 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 313 | (% style="line-height:1.2" %) |
![]() |
15.1 | 314 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)responderUuid |
![]() |
40.1 | 315 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 316 | (% style="line-height:1.2" %) |
![]() |
15.1 | 317 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 318 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 319 | (% style="line-height:1.2" %) |
![]() |
15.1 | 320 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя на которого назначена задача |
![]() |
40.1 | 321 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 322 | (% style="line-height:1.2" %) |
![]() |
15.1 | 323 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getResponderUuid() |
![]() |
13.1 | 324 | ))) |
![]() |
40.1 | 325 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 326 | (% style="line-height:1.2" %) |
![]() |
15.1 | 327 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)creatorUuid |
![]() |
40.1 | 328 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 329 | (% style="line-height:1.2" %) |
![]() |
15.1 | 330 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 331 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 332 | (% style="line-height:1.2" %) |
![]() |
15.1 | 333 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя создавшего задачу |
![]() |
40.1 | 334 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 335 | (% style="line-height:1.2" %) |
![]() |
15.1 | 336 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreatorUuid() |
![]() |
13.1 | 337 | ))) |
![]() |
40.1 | 338 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 339 | (% style="line-height:1.2" %) |
![]() |
15.1 | 340 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)priority |
![]() |
40.1 | 341 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 342 | (% style="line-height:1.2" %) |
![]() |
15.1 | 343 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Enum: |
![]() |
10.1 | 344 | |
![]() |
13.1 | 345 | (% style="line-height:1.2" %) |
![]() |
15.1 | 346 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)LOW, NORMAL, HIGH |
![]() |
40.1 | 347 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 348 | (% style="line-height:1.2" %) |
![]() |
15.1 | 349 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)приоритет задачи |
![]() |
40.1 | 350 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 351 | (% style="line-height:1.2" %) |
![]() |
15.1 | 352 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getPriority() |
![]() |
13.1 | 353 | ))) |
![]() |
40.1 | 354 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 355 | (% style="line-height:1.2" %) |
![]() |
15.1 | 356 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)taskType |
![]() |
40.1 | 357 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 358 | (% style="line-height:1.2" %) |
![]() |
15.1 | 359 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Enum: |
![]() |
7.1 | 360 | |
![]() |
13.1 | 361 | (% style="line-height:1.2" %) |
![]() |
15.1 | 362 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)TASK, BUG, IMPROVEMENT |
![]() |
40.1 | 363 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 364 | (% style="line-height:1.2" %) |
![]() |
15.1 | 365 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)тип задачи |
![]() |
40.1 | 366 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 367 | (% style="line-height:1.2" %) |
![]() |
15.1 | 368 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTaskType() |
![]() |
13.1 | 369 | ))) |
![]() |
40.1 | 370 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 371 | (% style="line-height:1.2" %) |
![]() |
15.1 | 372 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate |
![]() |
40.1 | 373 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 374 | (% style="line-height:1.2" %) |
![]() |
15.1 | 375 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date-time |
![]() |
40.1 | 376 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 377 | (% style="line-height:1.2" %) |
![]() |
15.1 | 378 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания задачи |
![]() |
40.1 | 379 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 380 | (% style="line-height:1.2" %) |
![]() |
15.1 | 381 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreateDate() |
![]() |
13.1 | 382 | ))) |
![]() |
40.1 | 383 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 384 | (% style="line-height:1.2" %) |
![]() |
15.1 | 385 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)completeStatus |
![]() |
40.1 | 386 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 387 | (% style="line-height:1.2" %) |
![]() |
15.1 | 388 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Enum: |
![]() |
3.1 | 389 | |
![]() |
13.1 | 390 | (% style="line-height:1.2" %) |
![]() |
15.1 | 391 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) NEW, DISCUSS, PROGRESS, READY, CLOSED |
![]() |
40.1 | 392 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 393 | (% style="line-height:1.2" %) |
![]() |
15.1 | 394 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)статус задачи |
![]() |
40.1 | 395 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 396 | (% style="line-height:1.2" %) |
![]() |
15.1 | 397 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCompleteStatus() |
![]() |
13.1 | 398 | ))) |
![]() |
40.1 | 399 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 400 | (% style="line-height:1.2" %) |
![]() |
15.1 | 401 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)worldX |
![]() |
40.1 | 402 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 403 | (% style="line-height:1.2" %) |
![]() |
15.1 | 404 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)double |
![]() |
40.1 | 405 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 406 | (% style="line-height:1.2" %) |
![]() |
15.1 | 407 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)координаты метки привязанной к задаче |
![]() |
40.1 | 408 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 409 | (% style="line-height:1.2" %) |
![]() |
15.1 | 410 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getWorldX() |
![]() |
13.1 | 411 | ))) |
![]() |
40.1 | 412 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 413 | (% style="line-height:1.2" %) |
![]() |
15.1 | 414 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)worldY |
![]() |
40.1 | 415 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 416 | (% style="line-height:1.2" %) |
![]() |
15.1 | 417 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)double |
![]() |
40.1 | 418 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 419 | (% style="line-height:1.2" %) |
![]() |
15.1 | 420 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)координаты метки привязанной к задаче |
![]() |
40.1 | 421 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 422 | (% style="line-height:1.2" %) |
![]() |
15.1 | 423 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getWorldY() |
![]() |
13.1 | 424 | ))) |
![]() |
40.1 | 425 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 426 | (% style="line-height:1.2" %) |
![]() |
15.1 | 427 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)worldZ |
![]() |
40.1 | 428 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 429 | (% style="line-height:1.2" %) |
![]() |
15.1 | 430 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)double |
![]() |
40.1 | 431 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 432 | (% style="line-height:1.2" %) |
![]() |
15.1 | 433 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)координаты метки привязанной к задаче |
![]() |
40.1 | 434 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 435 | (% style="line-height:1.2" %) |
![]() |
15.1 | 436 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getWorldZ() |
![]() |
13.1 | 437 | ))) |
![]() |
40.1 | 438 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 439 | (% style="line-height:1.2" %) |
![]() |
15.1 | 440 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)entityId |
![]() |
40.1 | 441 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 442 | (% style="line-height:1.2" %) |
![]() |
15.1 | 443 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 444 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 445 | (% style="line-height:1.2" %) |
![]() |
15.1 | 446 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор элемента если есть |
![]() |
40.1 | 447 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 448 | (% style="line-height:1.2" %) |
![]() |
15.1 | 449 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getEntityId() |
![]() |
13.1 | 450 | ))) |
451 | ))) | ||
452 | |||
453 | **Пример использования** | ||
454 | |||
![]() |
4.1 | 455 | {{code language="java"}} |
456 | def listTasks = bim.getProjectTasks() | ||
457 | for (Task task: listTasks ) { | ||
458 | def taskUuid= task.getUuid() | ||
![]() |
3.1 | 459 | |
![]() |
4.1 | 460 | // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” |
461 | } | ||
462 | {{/code}} | ||
![]() |
3.1 | 463 | |
464 | |||
![]() |
48.1 | 465 | (% class="box infomessage" %) |
466 | ((( | ||
467 | getTaskComments - получение списка всех комментариев у задачи по идентификатору задача | ||
468 | ))) | ||
469 | |||
470 | * **getTaskComments(UUID taskUuid)** | ||
471 | |||
472 | ((( | ||
473 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:223px; table-layout:fixed; width:850px" %) | ||
474 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( | ||
475 | (% style="line-height:1.2" %) | ||
476 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
477 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( | ||
478 | (% style="line-height:1.2" %) | ||
479 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
480 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( | ||
481 | (% style="line-height:1.2" %) | ||
482 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
483 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( | ||
484 | (% style="line-height:1.2" %) | ||
485 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
486 | ))) | ||
487 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( | ||
488 | (% style="line-height:1.2" %) | ||
489 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate | ||
490 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( | ||
491 | (% style="line-height:1.2" %) | ||
492 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date-time | ||
493 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( | ||
494 | (% style="line-height:1.2" %) | ||
495 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания комментария | ||
496 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( | ||
497 | (% style="line-height:1.2" %) | ||
498 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreateDate() | ||
499 | ))) | ||
500 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( | ||
501 | (% style="line-height:1.2" %) | ||
502 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)text | ||
503 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( | ||
504 | (% style="line-height:1.2" %) | ||
505 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string | ||
506 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( | ||
507 | (% style="line-height:1.2" %) | ||
508 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)комментарий | ||
509 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( | ||
510 | (% style="line-height:1.2" %) | ||
511 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getText() | ||
512 | ))) | ||
513 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( | ||
514 | (% style="line-height:1.2" %) | ||
515 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)authorUuid | ||
516 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( | ||
517 | (% style="line-height:1.2" %) | ||
518 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid | ||
519 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( | ||
520 | (% style="line-height:1.2" %) | ||
521 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)автор комментария | ||
522 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( | ||
523 | (% style="line-height:1.2" %) | ||
524 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAuthorUuid() | ||
525 | ))) | ||
526 | ))) | ||
527 | |||
528 | **Пример использования:** | ||
529 | |||
530 | {{code language="java"}} | ||
531 | def listComments = bim.getTaskComments(c73df7aa-7ddd-11ec-90d6-0242ac120003) | ||
532 | for (Comment comment: listComments ) { | ||
533 | def authorUuid= comment.setAuthorUuid() | ||
534 | |||
535 | {{/code}} |