Wiki source code of Интерфейс bim

Version 42.1 by Bimit Administrator on 10.02.2022, 11:03

Show last authors
1 Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы:
2
3 * [[getProject>>||anchor="HgetProject"]] - взятие проекта на котором выполняется плагин
4 * [[getProfile>>]] - получение данных о пользователе по его идентификатору Uuid
5 * [[getProjectModels>>]] - взятие всех активных моделей проекта на котором выполняется плагин
6 * getModelRevisions
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"}}​def listModels = bim.getProjectModels()
206 for (Model model: listModels ) {
207 def modelUuid = model.getUuid()
208
209 // console.info(modelUuid .toString()) -> “INFO: 4e733308-7ddd-11ec-90d6-0242ac120003”
210 }{{/code}}**
211
212
213 === ===
214
215 (% class="box infomessage" %)
216 (((
217 ====== **getProjectTasks** - получение списка всех задач проекта ======
218 )))
219
220 * **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру:
221
222 (((
223 (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:850px" %)
224 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
225 (% style="line-height:1.2" %)
226 (% 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" %)**Поле  **
227 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
228 (% style="line-height:1.2" %)
229 (% 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" %)**Тип данных поля**
230 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
231 (% style="line-height:1.2" %)
232 (% 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" %)**Описание поля**
233 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
234 (% style="line-height:1.2" %)
235 (% 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" %)Метод взятия данных поля
236 )))
237 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
238 (% style="line-height:1.2" %)
239 (% 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
240 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
241 (% style="line-height:1.2" %)
242 (% 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
243 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
244 (% style="line-height:1.2" %)
245 (% 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" %)идентификатор задачи
246 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getUuid()
249 )))
250 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
251 (% style="line-height:1.2" %)
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" %)title
253 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
254 (% style="line-height:1.2" %)
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" %)string
256 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
257 (% style="line-height:1.2" %)
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" %)заголовок задачи
259 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getTitle()
262 )))
263 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
264 (% style="line-height:1.2" %)
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" %)name
266 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
267 (% style="line-height:1.2" %)
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" %)string
269 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
270 (% style="line-height:1.2" %)
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" %)наименование задачи
272 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getName()
275 )))
276 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
277 (% style="line-height:1.2" %)
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" %)description
279 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
280 (% style="line-height:1.2" %)
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" %)string
282 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
283 (% style="line-height:1.2" %)
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" %)описание задачи
285 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getDescription()
288 )))
289 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
290 (% style="line-height:1.2" %)
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" %)responderUuid
292 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
293 (% style="line-height:1.2" %)
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" %)uuid
295 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
296 (% style="line-height:1.2" %)
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" %)идентификатор пользователя на которого назначена задача
298 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getResponderUuid()
301 )))
302 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
303 (% style="line-height:1.2" %)
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" %)creatorUuid
305 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
306 (% style="line-height:1.2" %)
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" %)uuid
308 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
309 (% style="line-height:1.2" %)
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" %)идентификатор пользователя создавшего задачу
311 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getCreatorUuid()
314 )))
315 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
316 (% style="line-height:1.2" %)
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" %)priority
318 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
319 (% style="line-height:1.2" %)
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" %)Enum:
321
322 (% style="line-height:1.2" %)
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" %)LOW, NORMAL, HIGH
324 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
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" %)приоритет задачи
327 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getPriority()
330 )))
331 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
332 (% style="line-height:1.2" %)
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" %)taskType
334 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
335 (% style="line-height:1.2" %)
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" %)Enum:
337
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" %)TASK, BUG, IMPROVEMENT
340 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
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" %)тип задачи
343 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getTaskType()
346 )))
347 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
348 (% style="line-height:1.2" %)
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" %)createDate
350 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
351 (% style="line-height:1.2" %)
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" %)date-time
353 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
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" %)дата создания задачи
356 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getCreateDate()
359 )))
360 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
361 (% style="line-height:1.2" %)
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" %)completeStatus
363 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
364 (% style="line-height:1.2" %)
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" %)Enum:
366
367 (% style="line-height:1.2" %)
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" %) NEW, DISCUSS, PROGRESS, READY, CLOSED
369 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
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" %)статус задачи
372 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getCompleteStatus()
375 )))
376 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
377 (% style="line-height:1.2" %)
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" %)worldX
379 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
380 (% style="line-height:1.2" %)
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" %)double
382 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
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" %)координаты метки привязанной к задаче
385 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getWorldX()
388 )))
389 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
390 (% style="line-height:1.2" %)
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" %)worldY
392 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
393 (% style="line-height:1.2" %)
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" %)double
395 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
396 (% style="line-height:1.2" %)
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" %)координаты метки привязанной к задаче
398 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getWorldY()
401 )))
402 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
403 (% style="line-height:1.2" %)
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" %)worldZ
405 )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
406 (% style="line-height:1.2" %)
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" %)double
408 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
409 (% style="line-height:1.2" %)
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" %)координаты метки привязанной к задаче
411 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getWorldZ()
414 )))
415 |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
416 (% style="line-height:1.2" %)
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" %)entityId
418 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)(((
419 (% style="line-height:1.2" %)
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" %)string
421 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)(((
422 (% style="line-height:1.2" %)
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" %)идентификатор элемента если есть
424 )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)(((
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" %)getEntityId()
427 )))
428 )))
429
430 **Пример использования**
431
432 {{code language="java"}}
433 def listTasks = bim.getProjectTasks()
434 for (Task task: listTasks ) {
435 def taskUuid= task.getUuid()
436
437 // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003”
438 }
439 {{/code}}