Исходный код вики Интерфейс bim

Версия 46.1 от Bimit Administrator на 10.02.2022, 13:52

Последние авторы
1 Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы:
2
3 * [[getProject>>||anchor="HgetProject"]] - взятие проекта на котором выполняется плагин
4 * [[getProfile>>||anchor="HgetProfile"]] - получение данных о пользователе по его идентификатору Uuid
5 * [[getProjectModels>>||anchor="HgetProjectModels"]] - взятие всех активных моделей проекта на котором выполняется плагин
6 * [[getModelRevisions>>||anchor="HgetModelRevisions"]] - взятие всех ревизий модели
7 * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]] - получение списка всех задач проекта
8 * getElement
9 * getElements
10 * getGeometryElement
11 * getGeometryElements
12 * getGeometryProject
13 * getGeometryModel
14 * getGeometryElementA
15 * getGeometryElementB
16 * showElements
17 * createGroupElements
18 * showGroupElements
19 * createCondition
20 * getProjectCollisions
21 * getModelCollisions
22
23 ====== ======
24
25 ====== ======
26
27 (% class="box infomessage" %)
28 (((
29 **getProject** - взятие проекта на котором выполняется плагин
30 )))
31
32 * **bim.getProject() **- метод представляет следующую структуру
33
34 (((
35 (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:835px" %)
36 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
37 (% style="line-height:1.2" %)
38 (% 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 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
40 (% style="line-height:1.2" %)
41 (% 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" %)Тип данных поля
42 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
43 (% style="line-height:1.2" %)
44 (% 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" %)Описание поля
45 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
46 (% style="line-height:1.2" %)
47 (% 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" %)Метод взятия данных поля
48 )))
49 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
50 (% style="line-height:1.2" %)
51 (% 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
52 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
53 (% style="line-height:1.2" %)
54 (% 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
55 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
56 (% style="line-height:1.2" %)
57 (% 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" %)идентификатор проекта
58 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
59 (% style="line-height:1.2" %)
60 (% 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()
61 )))
62 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
63 (% style="line-height:1.2" %)
64 (% 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
65 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
66 (% style="line-height:1.2" %)
67 (% 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
68 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
69 (% style="line-height:1.2" %)
70 (% 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" %)уникальное название английское
71 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
72 (% style="line-height:1.2" %)
73 (% 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()
74 )))
75 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
76 (% style="line-height:1.2" %)
77 (% 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
78 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
79 (% style="line-height:1.2" %)
80 (% 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
81 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
82 (% style="line-height:1.2" %)
83 (% 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" %)заголовок
84 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
85 (% style="line-height:1.2" %)
86 (% 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()
87 )))
88 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
89 (% style="line-height:1.2" %)
90 (% 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
91 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
92 (% style="line-height:1.2" %)
93 (% 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
94 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
95 (% style="line-height:1.2" %)
96 (% 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" %)описание
97 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
98 (% style="line-height:1.2" %)
99 (% 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()
100 )))
101 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
102 (% style="line-height:1.2" %)
103 (% 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
104 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
105 (% style="line-height:1.2" %)
106 (% 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
107 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
108 (% style="line-height:1.2" %)
109 (% 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" %)цвет метки проекта
110 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
111 (% style="line-height:1.2" %)
112 (% 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()
113 )))
114 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
115 (% style="line-height:1.2" %)
116 (% 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
117 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
118 (% style="line-height:1.2" %)
119 (% 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
120 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
121 (% style="line-height:1.2" %)
122 (% 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" %)ссылка на картинку превью проекта
123 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
124 (% style="line-height:1.2" %)
125 (% 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()
126 )))
127 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
128 (% style="line-height:1.2" %)
129 (% 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
130 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
131 (% style="line-height:1.2" %)
132 (% 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
133 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
134 (% style="line-height:1.2" %)
135 (% 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" %)дата создания
136 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
137 (% style="line-height:1.2" %)
138 (% 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()
139 )))
140 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
141 (% style="line-height:1.2" %)
142 (% 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
143 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
144 (% style="line-height:1.2" %)
145 (% 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
146 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
147 (% style="line-height:1.2" %)
148 (% 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" %)дата последнего редактирования
149 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
150 (% style="line-height:1.2" %)
151 (% 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()
152 )))
153 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
154 (% style="line-height:1.2" %)
155 (% 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
156 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)(((
157 (% style="line-height:1.2" %)
158 (% 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
159 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)(((
160 (% style="line-height:1.2" %)
161 (% 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" %)идентификатор пользователя автора проекта
162 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)(((
163 (% style="line-height:1.2" %)
164 (% 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()
165 )))
166 )))
167
168 **Пример использования:**
169
170 {{code language="java"}}
171 def project = bim.getProject()
172 def editProjectDate = project.getEditDate()
173 console.info(editProjectDate.toString())
174 // -> “INFO: 2022-01-01 01:01:12.567 +0300”
175
176 {{/code}}
177
178
179 (% class="box infomessage" %)
180 (((
181 **getProfile**  - получение данных о пользователе по его идентификатору Uuid
182 )))
183
184 * **bim.getProfile(Идентификатор пользователя)**
185
186 **Пример использования:**
187
188 {{code language="java"}}
189 def profile = bim.getProfile(UUID.fromString(“ef952aa8-7ddc-11ec-90d6-0242ac120003")
190 def profileUuid= profile.getUuid()
191
192 // console.info(profileUuid.toString()) -> “INFO: ef952aa8-7ddc-11ec-90d6-0242ac120003”
193 {{/code}}
194
195
196 (% class="box infomessage" %)
197 (((
198 **getProjectModels** - взятие всех активных моделей проекта на котором выполняется плагин)
199 )))
200
201 * **bim.getProjectModels()**
202
203 **Пример использования:**
204
205 {{code language="java"}}
206 ​def listModels = bim.getProjectModels()
207 for (Model model: listModels ) {
208 def modelUuid = model.getUuid()
209
210 // console.info(modelUuid .toString()) -> “INFO: 4e733308-7ddd-11ec-90d6-0242ac120003”
211 }
212 {{/code}}
213
214
215 (% class="box infomessage" %)
216 (((
217 **getModelRevisions** - взятие всех ревизий модели
218 )))
219
220 * **bim.getModelRevisions(Идентификатор модели)**
221
222 **Пример использования:**
223
224 {{code language="java"}}
225 def listModelRevisions = bim.getModelRevisions(UUID.fromString(“4e733308-7ddd-11ec-90d6-0242ac120003”)
226 for (ModelRevision modelRevision: listModelRevisions ) {
227 def modelRevisionUuid= modelRevision.getUuid()
228
229 // console.info(modelRevisionUuid .toString()) -> “INFO: 697ba2b6-7ddd-11ec-90d6-0242ac120003”
230 }
231
232 {{/code}}
233
234
235 === ===
236
237 (% class="box infomessage" %)
238 (((
239 ====== **getProjectTasks** - получение списка всех задач проекта ======
240 )))
241
242 * **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру:
243
244 (((
245 (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:850px" %)
246 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
247 (% style="line-height:1.2" %)
248 (% 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" %)**Поле  **
249 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
250 (% style="line-height:1.2" %)
251 (% 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" %)**Тип данных поля**
252 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
253 (% style="line-height:1.2" %)
254 (% 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" %)**Описание поля**
255 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
256 (% style="line-height:1.2" %)
257 (% 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" %)Метод взятия данных поля
258 )))
259 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
260 (% style="line-height:1.2" %)
261 (% 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
262 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
263 (% style="line-height:1.2" %)
264 (% 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
265 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
266 (% style="line-height:1.2" %)
267 (% 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" %)идентификатор задачи
268 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
269 (% style="line-height:1.2" %)
270 (% 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()
271 )))
272 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
273 (% style="line-height:1.2" %)
274 (% 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
275 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
276 (% style="line-height:1.2" %)
277 (% 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
278 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
279 (% style="line-height:1.2" %)
280 (% 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" %)заголовок задачи
281 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
282 (% style="line-height:1.2" %)
283 (% 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()
284 )))
285 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
286 (% style="line-height:1.2" %)
287 (% 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
288 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
289 (% style="line-height:1.2" %)
290 (% 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
291 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
292 (% style="line-height:1.2" %)
293 (% 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" %)наименование задачи
294 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
295 (% style="line-height:1.2" %)
296 (% 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()
297 )))
298 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
299 (% style="line-height:1.2" %)
300 (% 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
301 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
302 (% style="line-height:1.2" %)
303 (% 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
304 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
305 (% style="line-height:1.2" %)
306 (% 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" %)описание задачи
307 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
308 (% style="line-height:1.2" %)
309 (% 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()
310 )))
311 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
312 (% style="line-height:1.2" %)
313 (% 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
314 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
315 (% style="line-height:1.2" %)
316 (% 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
317 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
318 (% style="line-height:1.2" %)
319 (% 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" %)идентификатор пользователя на которого назначена задача
320 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
321 (% style="line-height:1.2" %)
322 (% 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()
323 )))
324 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
325 (% style="line-height:1.2" %)
326 (% 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
327 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
328 (% style="line-height:1.2" %)
329 (% 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
330 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
331 (% style="line-height:1.2" %)
332 (% 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" %)идентификатор пользователя создавшего задачу
333 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
334 (% style="line-height:1.2" %)
335 (% 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()
336 )))
337 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
338 (% style="line-height:1.2" %)
339 (% 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
340 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
341 (% style="line-height:1.2" %)
342 (% 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:
343
344 (% style="line-height:1.2" %)
345 (% 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
346 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
347 (% style="line-height:1.2" %)
348 (% 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" %)приоритет задачи
349 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
350 (% style="line-height:1.2" %)
351 (% 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()
352 )))
353 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
354 (% style="line-height:1.2" %)
355 (% 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
356 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
357 (% style="line-height:1.2" %)
358 (% 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:
359
360 (% style="line-height:1.2" %)
361 (% 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
362 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
363 (% style="line-height:1.2" %)
364 (% 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" %)тип задачи
365 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
366 (% style="line-height:1.2" %)
367 (% 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()
368 )))
369 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
370 (% style="line-height:1.2" %)
371 (% 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
372 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
373 (% style="line-height:1.2" %)
374 (% 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
375 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
376 (% style="line-height:1.2" %)
377 (% 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" %)дата создания задачи
378 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
379 (% style="line-height:1.2" %)
380 (% 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()
381 )))
382 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
383 (% style="line-height:1.2" %)
384 (% 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
385 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
386 (% style="line-height:1.2" %)
387 (% 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:
388
389 (% style="line-height:1.2" %)
390 (% 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
391 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
392 (% style="line-height:1.2" %)
393 (% 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" %)статус задачи
394 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
395 (% style="line-height:1.2" %)
396 (% 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()
397 )))
398 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
399 (% style="line-height:1.2" %)
400 (% 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
401 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
402 (% style="line-height:1.2" %)
403 (% 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
404 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
405 (% style="line-height:1.2" %)
406 (% 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" %)координаты метки привязанной к задаче
407 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
408 (% style="line-height:1.2" %)
409 (% 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()
410 )))
411 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
412 (% style="line-height:1.2" %)
413 (% 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
414 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
415 (% style="line-height:1.2" %)
416 (% 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
417 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
418 (% style="line-height:1.2" %)
419 (% 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" %)координаты метки привязанной к задаче
420 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
421 (% style="line-height:1.2" %)
422 (% 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()
423 )))
424 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
425 (% style="line-height:1.2" %)
426 (% 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
427 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
428 (% style="line-height:1.2" %)
429 (% 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
430 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
431 (% style="line-height:1.2" %)
432 (% 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" %)координаты метки привязанной к задаче
433 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
434 (% style="line-height:1.2" %)
435 (% 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()
436 )))
437 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
438 (% style="line-height:1.2" %)
439 (% 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
440 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
441 (% style="line-height:1.2" %)
442 (% 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
443 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
444 (% style="line-height:1.2" %)
445 (% 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" %)идентификатор элемента если есть
446 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
447 (% style="line-height:1.2" %)
448 (% 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()
449 )))
450 )))
451
452 **Пример использования**
453
454 {{code language="java"}}
455 def listTasks = bim.getProjectTasks()
456 for (Task task: listTasks ) {
457 def taskUuid= task.getUuid()
458
459 // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003”
460 }
461 {{/code}}