Исходный код вики Интерфейс bim
Версия 68.21 от Bimit Administrator на 17.07.2023, 11:58
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы: | ||
2 | |||
3 | * [[getProject>>path:#_Toc1]] - взятие проекта на котором выполняется плагин | ||
4 | * [[getProfile>>path:#_Toc2]] - получение данных о пользователе по его идентификатору Uuid | ||
5 | * [[getProjectModels>>path:#_Toc3]] - взятие всех активных моделей проекта на котором выполняется плагин | ||
6 | * [[getModelRevisions>>path:#_Toc4]] - взятие всех ревизий модели | ||
7 | * [[getProjectTasks>>path:#_Toc5]] - получение списка всех задач проекта | ||
8 | * [[getTaskComments>>path:#_Toc6]] - получение списка всех комментариев у задачи по идентификатору задач | ||
9 | * [[getTaskAttachments>>path:#_Toc7]] - получение списка всех вложений к задаче по идентификатору задач | ||
10 | * [[getElements>>path:#_Toc8]] - функция получения списка элементов с полной информацией | ||
11 | * [[getElement>>path:#_Toc9]] - функция получения полной информации о элементе | ||
12 | * [[getGeometryElement>>path:#_Toc10]] - функция получения полной информации о элементе и дополнительно параметры геометрии | ||
13 | * [[getGeometryElements>>path:#_Toc11]] - функция получения списка элементов с полной информацией и дополнительно параметры геометрии, на вход ей можно подать: условие поиска, сложное условие поиска | ||
14 | * [[getGeometryProject>>path:#_Toc12]] - взятие данных о проекта с добавленными данными по геометрии модели: границы и размеры границ по осям OX,OY,OZ | ||
15 | * [[getGeometryModel>>path:#_Toc13]] - взятие данных о модели по ее идентификатору с добавленными данными по геометрии модели: границы и размеры границ по осям OX,OY,OZ | ||
16 | * [[getGeometryElementA>>path:#_Toc14]] - специфичная функция получения полной информации о элементе и дополнительно параметры геометрии для расчета коллизий (сторона А, если существует) | ||
17 | * [[getGeometryElementB>>path:#_Toc15]] - специфичная функция получения полной информации о элементе и дополнительно параметры геометрии для расчета коллизий (сторона B, если существует) | ||
18 | * [[getGeometryObject>>path:#_Toc22]] - функция получения координат элемента для формирования объемной модели или отрисовки на экране | ||
19 | * [[showElements>>path:#_Toc16]] - функция отображения на экране списка элементов (выбор/подсветка на модели) | ||
20 | * [[createGroupElements>>path:#_Toc17]] - создание (объединение) элементов в группы с указанием цвета в формате HEX | ||
21 | * [[showGroupElements>>path:#_Toc18]] - функция отображения/подсветки на экране ранее созданных групп элементов | ||
22 | * [[createCondition>>path:#_Toc19]] - функция создания условия поиска элементов | ||
23 | * [[getProjectCollisions>>path:#_Toc20]] - функция получения списка коллизий проекта | ||
24 | * [[getModelCollisions>>path:#_Toc21]] - функция получения списка коллизий модели | ||
25 | * [[getCollisionsForReport()>>path:#_Toc26]] - функция получения списка коллизий для отчета | ||
26 | * [[getFilesDownloadLinks>>path:#_Toc27]] - получение списка ссылок на скачивание файлов, которые вложены в задачи проекта | ||
27 | * [[editTokenExpiredDate>>path:#_Toc28]] - позволяет изменить количество дней, через сколько токен для скачивания файлов станет недействительным | ||
28 | * [[createConditionFromId>>path:#_Toc29]] - функция создания условия поиска элементов по uuid | ||
29 | |||
30 | Справочники | ||
31 | |||
32 | * [[Операторы сравнения>>path:#_Toc23]] | ||
33 | * [[Параметры поиска>>path:#_Toc24]] | ||
34 | * [[Статусы коллизий>>path:#_Toc25]] | ||
35 | |||
36 | ====== ====== | ||
37 | |||
38 | ====== ====== | ||
39 | |||
40 | (% class="box infomessage" %) | ||
41 | ((( | ||
42 | **{{id name="_Toc1"/}}getProject** - взятие проекта на котором выполняется плагин | ||
43 | ))) | ||
44 | |||
45 | * **bim.getProject() **- метод представляет следующую структуру | ||
46 | |||
47 | ((( | ||
48 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:835px" %) | ||
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" %)Поле | ||
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" %)Тип данных поля | ||
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" %)Метод взятия данных поля | ||
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" %)uuid | ||
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" %)uuid | ||
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" %)getUuid() | ||
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" %)alias | ||
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" %)getAlias() | ||
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" %)title | ||
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" %)getTitle() | ||
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" %)description | ||
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" %)getDescription() | ||
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" %)color | ||
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" %)getColor() | ||
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" %)preview | ||
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" %)string | ||
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" %)getPreview() | ||
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" %)createDate | ||
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" %)getCreateDate() | ||
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" %)editDate | ||
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" %)date | ||
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" %)getEditDate() | ||
165 | ))) | ||
166 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
167 | (% style="line-height:1.2" %) | ||
168 | (% style="color:#000000; font-family:Arial; font-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 | ||
169 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
170 | (% style="line-height:1.2" %) | ||
171 | (% style="color:#000000; font-family:Arial; font-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 | ||
172 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( | ||
173 | (% style="line-height:1.2" %) | ||
174 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя автора проекта | ||
175 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( | ||
176 | (% style="line-height:1.2" %) | ||
177 | (% style="color:#000000; font-family:Arial; font-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() | ||
178 | ))) | ||
179 | ))) | ||
180 | |||
181 | **Пример использования:** | ||
182 | |||
183 | {{code language="java"}} | ||
184 | def project = bim.getProject() | ||
185 | def editProjectDate = project.getEditDate() | ||
186 | console.info(editProjectDate.toString()) | ||
187 | // -> “INFO: 2022-01-01 01:01:12.567 +0300” | ||
188 | |||
189 | {{/code}} | ||
190 | |||
191 | |||
192 | (% class="box infomessage" %) | ||
193 | ((( | ||
194 | **{{id name="_Toc2"/}}getProfile** - получение данных о пользователе по его идентификатору Uuid | ||
195 | ))) | ||
196 | |||
197 | * **bim.getProfile(Идентификатор пользователя)** | ||
198 | |||
199 | **Пример использования:** | ||
200 | |||
201 | {{code language="java"}} | ||
202 | def profile = bim.getProfile(UUID.fromString("ef952aa8-7ddc-11ec-90d6-0242ac120003") | ||
203 | def profileUuid= profile.getUuid() | ||
204 | |||
205 | // console.info(profileUuid.toString()) -> “INFO: ef952aa8-7ddc-11ec-90d6-0242ac120003” | ||
206 | {{/code}} | ||
207 | |||
208 | |||
209 | (% class="box infomessage" %) | ||
210 | ((( | ||
211 | **{{id name="_Toc3"/}}getProjectModels** - взятие всех активных моделей проекта на котором выполняется плагин) | ||
212 | ))) | ||
213 | |||
214 | * **bim.getProjectModels()** | ||
215 | |||
216 | **Пример использования:** | ||
217 | |||
218 | {{code language="java"}} | ||
219 | def listModels = bim.getProjectModels() | ||
220 | for (Model model: listModels ) { | ||
221 | def modelUuid = model.getUuid() | ||
222 | |||
223 | // console.info(modelUuid .toString()) -> “INFO: 4e733308-7ddd-11ec-90d6-0242ac120003” | ||
224 | } | ||
225 | {{/code}} | ||
226 | |||
227 | |||
228 | (% class="box infomessage" %) | ||
229 | ((( | ||
230 | **{{id name="_Toc4"/}}getModelRevisions** - взятие всех ревизий модели | ||
231 | ))) | ||
232 | |||
233 | * **bim.getModelRevisions(Идентификатор модели)** | ||
234 | |||
235 | **Пример использования:** | ||
236 | |||
237 | {{code language="java"}} | ||
238 | def listModelRevisions = bim.getModelRevisions(UUID.fromString("4e733308-7ddd-11ec-90d6-0242ac120003") | ||
239 | for (ModelRevision modelRevision: listModelRevisions ) { | ||
240 | def modelRevisionUuid= modelRevision.getUuid() | ||
241 | |||
242 | // console.info(modelRevisionUuid .toString()) -> “INFO: 697ba2b6-7ddd-11ec-90d6-0242ac120003” | ||
243 | } | ||
244 | |||
245 | {{/code}} | ||
246 | |||
247 | |||
248 | |||
249 | |||
250 | (% class="box infomessage" %) | ||
251 | ((( | ||
252 | **{{id name="_Toc5"/}}getProjectTasks** - получение списка всех задач проекта | ||
253 | ))) | ||
254 | |||
255 | * **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру: | ||
256 | |||
257 | ((( | ||
258 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:850px" %) | ||
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" %)**Поле ** | ||
262 | )))|(% style="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" %)**Тип данных поля** | ||
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" %)Метод взятия данных поля | ||
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" %)uuid | ||
275 | )))|(% style="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" %)uuid | ||
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" %)getUuid() | ||
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" %)title | ||
288 | )))|(% style="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" %)getTitle() | ||
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" %)name | ||
301 | )))|(% style="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" %)getName() | ||
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" %)description | ||
314 | )))|(% style="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" %)string | ||
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" %)getDescription() | ||
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" %)responderUuid | ||
327 | )))|(% style="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" %)getResponderUuid() | ||
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" %)creatorUuid | ||
340 | )))|(% style="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" %)uuid | ||
343 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( | ||
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" %)идентификатор пользователя создавшего задачу | ||
346 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( | ||
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" %)getCreatorUuid() | ||
349 | ))) | ||
350 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
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" %)priority | ||
353 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( | ||
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" %)Enum: | ||
356 | |||
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" %)LOW, NORMAL, HIGH | ||
359 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( | ||
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" %)приоритет задачи | ||
362 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( | ||
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" %)getPriority() | ||
365 | ))) | ||
366 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
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" %)taskType | ||
369 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( | ||
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" %)Enum: | ||
372 | |||
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" %)TASK, BUG, IMPROVEMENT | ||
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" %)getTaskType() | ||
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" %)createDate | ||
385 | )))|(% style="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" %)date-time | ||
388 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( | ||
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" %)дата создания задачи | ||
391 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( | ||
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" %)getCreateDate() | ||
394 | ))) | ||
395 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
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" %)completeStatus | ||
398 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( | ||
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" %)Enum: | ||
401 | |||
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" %) NEW, DISCUSS, PROGRESS, READY, CLOSED | ||
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" %)getCompleteStatus() | ||
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" %)worldX | ||
414 | )))|(% style="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" %)getWorldX() | ||
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" %)worldY | ||
427 | )))|(% style="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" %)getWorldY() | ||
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" %)worldZ | ||
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" %)double | ||
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" %)getWorldZ() | ||
449 | ))) | ||
450 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
451 | (% style="line-height:1.2" %) | ||
452 | (% style="color:#000000; font-family:Arial; font-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 | ||
453 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( | ||
454 | (% style="line-height:1.2" %) | ||
455 | (% style="color:#000000; font-family:Arial; font-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 | ||
456 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( | ||
457 | (% style="line-height:1.2" %) | ||
458 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор элемента если есть | ||
459 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( | ||
460 | (% style="line-height:1.2" %) | ||
461 | (% style="color:#000000; font-family:Arial; font-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() | ||
462 | ))) | ||
463 | ))) | ||
464 | |||
465 | **Пример использования** | ||
466 | |||
467 | {{code language="java"}} | ||
468 | def listTasks = bim.getProjectTasks() | ||
469 | for (Task task: listTasks ) { | ||
470 | def taskUuid= task.getUuid() | ||
471 | |||
472 | // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” | ||
473 | } | ||
474 | {{/code}} | ||
475 | |||
476 | |||
477 | (% class="box infomessage" %) | ||
478 | ((( | ||
479 | **{{id name="_Toc6"/}}getTaskComments** - получение списка всех комментариев у задачи по идентификатору задача | ||
480 | ))) | ||
481 | |||
482 | * **bim.getTaskComments(UUID taskUuid)** | ||
483 | |||
484 | (% style="margin-left:2px" %) | ||
485 | ((( | ||
486 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:225px; width:850px" %) | ||
487 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( | ||
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" %)Поле | ||
490 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( | ||
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" %)Тип данных поля | ||
493 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( | ||
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:228px" %)((( | ||
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" %)Метод взятия данных поля | ||
499 | ))) | ||
500 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( | ||
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" %)createDate | ||
503 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( | ||
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" %)date-time | ||
506 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( | ||
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:228px" %)((( | ||
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" %)getCreateDate() | ||
512 | ))) | ||
513 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( | ||
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" %)text | ||
516 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( | ||
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" %)string | ||
519 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( | ||
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:228px" %)((( | ||
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" %)getText() | ||
525 | ))) | ||
526 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( | ||
527 | (% style="line-height:1.2" %) | ||
528 | (% style="color:#000000; font-family:Arial; font-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 | ||
529 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( | ||
530 | (% style="line-height:1.2" %) | ||
531 | (% style="color:#000000; font-family:Arial; font-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 | ||
532 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( | ||
533 | (% style="line-height:1.2" %) | ||
534 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)автор комментария | ||
535 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( | ||
536 | (% style="line-height:1.2" %) | ||
537 | (% style="color:#000000; font-family:Arial; font-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() | ||
538 | ))) | ||
539 | ))) | ||
540 | |||
541 | **Пример использования** | ||
542 | |||
543 | {{code language="java"}} | ||
544 | def listComments = bim.getTaskComments(c73df7aa-7ddd-11ec-90d6-0242ac120003) | ||
545 | for (Comment comment: listComments ) { | ||
546 | def authorUuid= comment.setAuthorUuid() | ||
547 | |||
548 | {{/code}} | ||
549 | |||
550 | |||
551 | (% class="box infomessage" %) | ||
552 | ((( | ||
553 | **{{id name="_Toc7"/}}getTaskAttachments** - получение списка всех вложений к задаче по идентификатору задача | ||
554 | ))) | ||
555 | |||
556 | * **bim.getTaskAttachments(UUID taskUuid)** | ||
557 | |||
558 | ((( | ||
559 | (% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:850px" %) | ||
560 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
561 | (% style="line-height:1.2" %) | ||
562 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
563 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
564 | (% style="line-height:1.2" %) | ||
565 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
566 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
567 | (% style="line-height:1.2" %) | ||
568 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
569 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
570 | (% style="line-height:1.2" %) | ||
571 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
572 | ))) | ||
573 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
574 | (% style="line-height:1.2" %) | ||
575 | (% style="color:#000000; font-family:Arial; font-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 | ||
576 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
577 | (% style="line-height:1.2" %) | ||
578 | (% style="color:#000000; font-family:Arial; font-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 | ||
579 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
580 | (% style="line-height:1.2" %) | ||
581 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор вложения | ||
582 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
583 | (% style="line-height:1.2" %) | ||
584 | (% style="color:#000000; font-family:Arial; font-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() | ||
585 | ))) | ||
586 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
587 | (% style="line-height:1.2" %) | ||
588 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)file | ||
589 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
590 | (% style="line-height:1.2" %) | ||
591 | (% style="color:#000000; font-family:Arial; font-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 | ||
592 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
593 | (% style="line-height:1.2" %) | ||
594 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на файл вложения | ||
595 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
596 | (% style="line-height:1.2" %) | ||
597 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getFile() | ||
598 | ))) | ||
599 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
600 | (% style="line-height:1.2" %) | ||
601 | (% style="color:#000000; font-family:Arial; font-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 | ||
602 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
603 | (% style="line-height:1.2" %) | ||
604 | (% style="color:#000000; font-family:Arial; font-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 | ||
605 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
606 | (% style="line-height:1.2" %) | ||
607 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование вложения | ||
608 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
609 | (% style="line-height:1.2" %) | ||
610 | (% style="color:#000000; font-family:Arial; font-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() | ||
611 | ))) | ||
612 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
613 | (% style="line-height:1.2" %) | ||
614 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)camera | ||
615 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
616 | (% style="line-height:1.2" %) | ||
617 | (% style="color:#000000; font-family:Arial; font-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 | ||
618 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
619 | (% style="line-height:1.2" %) | ||
620 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)опции камеры вложения (например скриншота) | ||
621 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
622 | (% style="line-height:1.2" %) | ||
623 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCamera() | ||
624 | ))) | ||
625 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
626 | (% style="line-height:1.2" %) | ||
627 | (% style="color:#000000; font-family:Arial; font-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 | ||
628 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
629 | (% style="line-height:1.2" %) | ||
630 | (% style="color:#000000; font-family:Arial; font-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 | ||
631 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
632 | (% style="line-height:1.2" %) | ||
633 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания вложения | ||
634 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
635 | (% style="line-height:1.2" %) | ||
636 | (% style="color:#000000; font-family:Arial; font-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() | ||
637 | ))) | ||
638 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
639 | (% style="line-height:1.2" %) | ||
640 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)contentType | ||
641 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
642 | (% style="line-height:1.2" %) | ||
643 | (% style="color:#000000; font-family:Arial; font-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 | ||
644 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
645 | (% style="line-height:1.2" %) | ||
646 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)тип вложения | ||
647 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
648 | (% style="line-height:1.2" %) | ||
649 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getContentType() | ||
650 | ))) | ||
651 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
652 | (% style="line-height:1.2" %) | ||
653 | (% style="color:#000000; font-family:Arial; font-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 | ||
654 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
655 | (% style="line-height:1.2" %) | ||
656 | (% style="color:#000000; font-family:Arial; font-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 | ||
657 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
658 | (% style="line-height:1.2" %) | ||
659 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор автора вложения | ||
660 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
661 | (% style="line-height:1.2" %) | ||
662 | (% style="color:#000000; font-family:Arial; font-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() | ||
663 | ))) | ||
664 | ))) | ||
665 | |||
666 | **Пример использования:** | ||
667 | |||
668 | {{code language="java"}} | ||
669 | def listAttachments = bim.getTaskAttachments(c73df7aa-7ddd-11ec-90d6-0242ac120003) | ||
670 | for (Attachment attachment: listAttachments ) { | ||
671 | def createDate= attachment.setCreateDate() | ||
672 | |||
673 | // console.info(createDate.toString()) -> “INFO: 2022-01-21 10:01:12.567 +0300” | ||
674 | } | ||
675 | |||
676 | {{/code}} | ||
677 | |||
678 | |||
679 | (% class="box infomessage" %) | ||
680 | ((( | ||
681 | **{{id name="_Toc8"/}}getElements** - функция получения списка элементов с полной информацией | ||
682 | ))) | ||
683 | |||
684 | * **bim.getElements(Условие поиска)** | ||
685 | * **bim.getElements(Список идентификаторов элементов)** | ||
686 | |||
687 | (% style="margin-left:5px" %) | ||
688 | ((( | ||
689 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
690 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
691 | (% style="line-height:1.2" %) | ||
692 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
693 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
694 | (% style="line-height:1.2" %) | ||
695 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
696 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
697 | (% style="line-height:1.2" %) | ||
698 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
699 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
700 | (% style="line-height:1.2" %) | ||
701 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
702 | ))) | ||
703 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
704 | (% style="line-height:1.2" %) | ||
705 | (% style="color:#000000; font-family:Arial; font-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 | ||
706 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
707 | (% style="line-height:1.2" %) | ||
708 | (% style="color:#000000; font-family:Arial; font-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 | ||
709 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
710 | (% style="line-height:1.2" %) | ||
711 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор элемента | ||
712 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
713 | (% style="line-height:1.2" %) | ||
714 | (% style="color:#000000; font-family:Arial; font-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() | ||
715 | ))) | ||
716 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
717 | (% style="line-height:1.2" %) | ||
718 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)globalId | ||
719 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
720 | (% style="line-height:1.2" %) | ||
721 | (% style="color:#000000; font-family:Arial; font-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 | ||
722 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
723 | (% style="line-height:1.2" %) | ||
724 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)глобальный идентификатор элемента | ||
725 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
726 | (% style="line-height:1.2" %) | ||
727 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getGlobalId() | ||
728 | ))) | ||
729 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
730 | (% style="line-height:1.2" %) | ||
731 | (% style="color:#000000; font-family:Arial; font-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 | ||
732 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
733 | (% style="line-height:1.2" %) | ||
734 | (% style="color:#000000; font-family:Arial; font-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 | ||
735 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
736 | (% style="line-height:1.2" %) | ||
737 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование элемента | ||
738 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
739 | (% style="line-height:1.2" %) | ||
740 | (% style="color:#000000; font-family:Arial; font-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() | ||
741 | ))) | ||
742 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
743 | (% style="line-height:1.2" %) | ||
744 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)longName | ||
745 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
746 | (% style="line-height:1.2" %) | ||
747 | (% style="color:#000000; font-family:Arial; font-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 | ||
748 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
749 | (% style="line-height:1.2" %) | ||
750 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)полное наименование элемента | ||
751 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
752 | (% style="line-height:1.2" %) | ||
753 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getLongName() | ||
754 | ))) | ||
755 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
756 | (% style="line-height:1.2" %) | ||
757 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementClass | ||
758 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
759 | (% style="line-height:1.2" %) | ||
760 | (% style="color:#000000; font-family:Arial; font-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 | ||
761 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
762 | (% style="line-height:1.2" %) | ||
763 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор класса элемента | ||
764 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
765 | (% style="line-height:1.2" %) | ||
766 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementClass() | ||
767 | ))) | ||
768 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
769 | (% style="line-height:1.2" %) | ||
770 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)stringValue | ||
771 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
772 | (% style="line-height:1.2" %) | ||
773 | (% style="color:#000000; font-family:Arial; font-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 | ||
774 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
775 | (% style="line-height:1.2" %) | ||
776 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)значение элемента для атрибутных элементов в строковом виде | ||
777 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
778 | (% style="line-height:1.2" %) | ||
779 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getStringValue() | ||
780 | ))) | ||
781 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
782 | (% style="line-height:1.2" %) | ||
783 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)doubleValue | ||
784 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
785 | (% style="line-height:1.2" %) | ||
786 | (% style="color:#000000; font-family:Arial; font-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 | ||
787 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
788 | (% style="line-height:1.2" %) | ||
789 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)значение элемента для атрибутных элементов в численном виде, если преобразование возможно, иначе будет 0 | ||
790 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
791 | (% style="line-height:1.2" %) | ||
792 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDoubleValue() | ||
793 | ))) | ||
794 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
795 | (% style="line-height:1.2" %) | ||
796 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)project | ||
797 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
798 | (% style="line-height:1.2" %) | ||
799 | (% style="color:#000000; font-family:Arial; font-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 | ||
800 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
801 | (% style="line-height:1.2" %) | ||
802 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта | ||
803 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
804 | (% style="line-height:1.2" %) | ||
805 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getProject() | ||
806 | ))) | ||
807 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
808 | (% style="line-height:1.2" %) | ||
809 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)children | ||
810 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
811 | (% style="line-height:1.2" %) | ||
812 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив | ||
813 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
814 | (% style="line-height:1.2" %) | ||
815 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив и элементов, дети, атрибуты, группы атрибутов | ||
816 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
817 | (% style="line-height:1.2" %) | ||
818 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getChildren() | ||
819 | ))) | ||
820 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
821 | (% style="line-height:1.2" %) | ||
822 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementClassName | ||
823 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
824 | (% style="line-height:1.2" %) | ||
825 | (% style="color:#000000; font-family:Arial; font-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 | ||
826 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
827 | (% style="line-height:1.2" %) | ||
828 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование класса элемента ifc | ||
829 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
830 | (% style="line-height:1.2" %) | ||
831 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementClassName() | ||
832 | ))) | ||
833 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
834 | (% style="line-height:1.2" %) | ||
835 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementClassTitle | ||
836 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
837 | (% style="line-height:1.2" %) | ||
838 | (% style="color:#000000; font-family:Arial; font-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 | ||
839 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
840 | (% style="line-height:1.2" %) | ||
841 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование класса элемента | ||
842 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
843 | (% style="line-height:1.2" %) | ||
844 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementClassTitle() | ||
845 | ))) | ||
846 | ))) | ||
847 | |||
848 | **Примеры использования:** | ||
849 | |||
850 | {{code language="java"}} | ||
851 | def conditionWall = bim.createCondition("class", "eq", "IfcWall") | ||
852 | def listWalls = bim.getElements (conditionWall ) | ||
853 | for (Element element: listWalls ) { | ||
854 | def globalId = element.getGlobalId() | ||
855 | |||
856 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
857 | } | ||
858 | |||
859 | {{/code}} | ||
860 | |||
861 | {{code language="java"}} | ||
862 | def elements = new HashSet<UUID>() | ||
863 | elements.add(UUID.randomUuid()) | ||
864 | def listElements = bim.getElements(elements) | ||
865 | for (Element element: listElements ) { | ||
866 | def globalId = element.getGlobalId() | ||
867 | |||
868 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
869 | } | ||
870 | |||
871 | {{/code}} | ||
872 | |||
873 | |||
874 | (% class="box infomessage" %) | ||
875 | ((( | ||
876 | **{{id name="_Toc9"/}}getElement** - функция получения полной информации о элементе | ||
877 | ))) | ||
878 | |||
879 | * **bim.getElement(Идентификатор элемента)** | ||
880 | * **bim.getElement(Идентификатор элемента как текст)** | ||
881 | |||
882 | **Примеры использования:** | ||
883 | |||
884 | {{code language="java"}} | ||
885 | def element = bim.getElement(UUID.fromString("e5a114d0-7de1-11ec-90d6-0242ac120003")) | ||
886 | def globalId = element.getGlobalId() | ||
887 | |||
888 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
889 | {{/code}} | ||
890 | |||
891 | {{code language="java"}} | ||
892 | def element = bim.getElement("e5a114d0-7de1-11ec-90d6-0242ac120003") | ||
893 | def globalId = element.getGlobalId() | ||
894 | |||
895 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
896 | {{/code}} | ||
897 | |||
898 | |||
899 | (% class="box infomessage" %) | ||
900 | ((( | ||
901 | **{{id name="_Toc10"/}}getGeometryElement** - функция получения полной информации о элементе и дополнительно параметры геометрии | ||
902 | ))) | ||
903 | |||
904 | * **bim.getGeometryElement(Идентификатор элемента)** | ||
905 | * **bim.getGeometryElement(Идентификатор элемента как текст)** | ||
906 | |||
907 | (% style="margin-left:4px" %) | ||
908 | ((( | ||
909 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
910 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
911 | (% style="line-height:1.2" %) | ||
912 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
913 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
914 | (% style="line-height:1.2" %) | ||
915 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
916 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
917 | (% style="line-height:1.2" %) | ||
918 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
919 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
920 | (% style="line-height:1.2" %) | ||
921 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
922 | ))) | ||
923 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
924 | (% style="line-height:1.2" %) | ||
925 | (% style="color:#000000; font-family:Arial; font-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 | ||
926 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
927 | (% style="line-height:1.2" %) | ||
928 | (% style="color:#000000; font-family:Arial; font-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 | ||
929 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
930 | (% style="line-height:1.2" %) | ||
931 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор элемента | ||
932 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
933 | (% style="line-height:1.2" %) | ||
934 | (% style="color:#000000; font-family:Arial; font-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() | ||
935 | ))) | ||
936 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
937 | (% style="line-height:1.2" %) | ||
938 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)globalId | ||
939 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
940 | (% style="line-height:1.2" %) | ||
941 | (% style="color:#000000; font-family:Arial; font-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 | ||
942 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
943 | (% style="line-height:1.2" %) | ||
944 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)глобальный идентификатор элемента | ||
945 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
946 | (% style="line-height:1.2" %) | ||
947 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getGlobalId() | ||
948 | ))) | ||
949 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
950 | (% style="line-height:1.2" %) | ||
951 | (% style="color:#000000; font-family:Arial; font-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 | ||
952 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
953 | (% style="line-height:1.2" %) | ||
954 | (% style="color:#000000; font-family:Arial; font-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 | ||
955 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
956 | (% style="line-height:1.2" %) | ||
957 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование элемента | ||
958 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
959 | (% style="line-height:1.2" %) | ||
960 | (% style="color:#000000; font-family:Arial; font-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() | ||
961 | ))) | ||
962 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
963 | (% style="line-height:1.2" %) | ||
964 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)longName | ||
965 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
966 | (% style="line-height:1.2" %) | ||
967 | (% style="color:#000000; font-family:Arial; font-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 | ||
968 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
969 | (% style="line-height:1.2" %) | ||
970 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)полное наименование элемента | ||
971 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
972 | (% style="line-height:1.2" %) | ||
973 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getLongName() | ||
974 | ))) | ||
975 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
976 | (% style="line-height:1.2" %) | ||
977 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementClass | ||
978 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
979 | (% style="line-height:1.2" %) | ||
980 | (% style="color:#000000; font-family:Arial; font-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 | ||
981 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
982 | (% style="line-height:1.2" %) | ||
983 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор класса элемента | ||
984 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
985 | (% style="line-height:1.2" %) | ||
986 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementClass() | ||
987 | ))) | ||
988 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
989 | (% style="line-height:1.2" %) | ||
990 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)stringValue | ||
991 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
992 | (% style="line-height:1.2" %) | ||
993 | (% style="color:#000000; font-family:Arial; font-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 | ||
994 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
995 | (% style="line-height:1.2" %) | ||
996 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)значение элемента для атрибутных элементов в строковом виде | ||
997 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
998 | (% style="line-height:1.2" %) | ||
999 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getStringValue() | ||
1000 | ))) | ||
1001 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1002 | (% style="line-height:1.2" %) | ||
1003 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)doubleValue | ||
1004 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1005 | (% style="line-height:1.2" %) | ||
1006 | (% style="color:#000000; font-family:Arial; font-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 | ||
1007 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1008 | (% style="line-height:1.2" %) | ||
1009 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)значение элемента для атрибутных элементов в численном виде, если преобразование возможно, иначе будет 0 | ||
1010 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1011 | (% style="line-height:1.2" %) | ||
1012 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDoubleValue() | ||
1013 | ))) | ||
1014 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1015 | (% style="line-height:1.2" %) | ||
1016 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)project | ||
1017 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1018 | (% style="line-height:1.2" %) | ||
1019 | (% style="color:#000000; font-family:Arial; font-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 | ||
1020 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1021 | (% style="line-height:1.2" %) | ||
1022 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта | ||
1023 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1024 | (% style="line-height:1.2" %) | ||
1025 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getProject() | ||
1026 | ))) | ||
1027 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1028 | (% style="line-height:1.2" %) | ||
1029 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)children | ||
1030 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1031 | (% style="line-height:1.2" %) | ||
1032 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив | ||
1033 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1034 | (% style="line-height:1.2" %) | ||
1035 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив и элементов, дети, атрибуты, группы атрибутов | ||
1036 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1037 | (% style="line-height:1.2" %) | ||
1038 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getChildren() | ||
1039 | ))) | ||
1040 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1041 | (% style="line-height:1.2" %) | ||
1042 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementClassName | ||
1043 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1044 | (% style="line-height:1.2" %) | ||
1045 | (% style="color:#000000; font-family:Arial; font-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 | ||
1046 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1047 | (% style="line-height:1.2" %) | ||
1048 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование класса элемента ifc | ||
1049 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1050 | (% style="line-height:1.2" %) | ||
1051 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementClassName() | ||
1052 | ))) | ||
1053 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1054 | (% style="line-height:1.2" %) | ||
1055 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementClassTitle | ||
1056 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1057 | (% style="line-height:1.2" %) | ||
1058 | (% style="color:#000000; font-family:Arial; font-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 | ||
1059 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1060 | (% style="line-height:1.2" %) | ||
1061 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование класса элемента | ||
1062 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1063 | (% style="line-height:1.2" %) | ||
1064 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementClassTitle() | ||
1065 | ))) | ||
1066 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1067 | (% style="line-height:1.2" %) | ||
1068 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)area | ||
1069 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1070 | (% style="line-height:1.2" %) | ||
1071 | (% style="color:#000000; font-family:Arial; font-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 | ||
1072 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1073 | (% style="line-height:1.2" %) | ||
1074 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)площадь поверхности элемента | ||
1075 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1076 | (% style="line-height:1.2" %) | ||
1077 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getArea() | ||
1078 | ))) | ||
1079 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1080 | (% style="line-height:1.2" %) | ||
1081 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)volume | ||
1082 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1083 | (% style="line-height:1.2" %) | ||
1084 | (% style="color:#000000; font-family:Arial; font-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 | ||
1085 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1086 | (% style="line-height:1.2" %) | ||
1087 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)объем элемента | ||
1088 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1089 | (% style="line-height:1.2" %) | ||
1090 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getVolume() | ||
1091 | ))) | ||
1092 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1093 | (% style="line-height:1.2" %) | ||
1094 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)areaX | ||
1095 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1096 | (% style="line-height:1.2" %) | ||
1097 | (% style="color:#000000; font-family:Arial; font-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 | ||
1098 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1099 | (% style="line-height:1.2" %) | ||
1100 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)площадь элемента вдоль оси OX | ||
1101 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1102 | (% style="line-height:1.2" %) | ||
1103 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAreaX() | ||
1104 | ))) | ||
1105 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1106 | (% style="line-height:1.2" %) | ||
1107 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)areaY | ||
1108 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1109 | (% style="line-height:1.2" %) | ||
1110 | (% style="color:#000000; font-family:Arial; font-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 | ||
1111 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1112 | (% style="line-height:1.2" %) | ||
1113 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)площадь элемента вдоль оси OY | ||
1114 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1115 | (% style="line-height:1.2" %) | ||
1116 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAreaY() | ||
1117 | ))) | ||
1118 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1119 | (% style="line-height:1.2" %) | ||
1120 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)areaZ | ||
1121 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1122 | (% style="line-height:1.2" %) | ||
1123 | (% style="color:#000000; font-family:Arial; font-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 | ||
1124 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1125 | (% style="line-height:1.2" %) | ||
1126 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)площадь элемента вдоль оси OZ | ||
1127 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1128 | (% style="line-height:1.2" %) | ||
1129 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAreaZ() | ||
1130 | ))) | ||
1131 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1132 | (% style="line-height:1.2" %) | ||
1133 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)largeArea | ||
1134 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1135 | (% style="line-height:1.2" %) | ||
1136 | (% style="color:#000000; font-family:Arial; font-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 | ||
1137 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1138 | (% style="line-height:1.2" %) | ||
1139 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)максимальная площадь элемента из осей | ||
1140 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1141 | (% style="line-height:1.2" %) | ||
1142 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getLargeArea() | ||
1143 | ))) | ||
1144 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1145 | (% style="line-height:1.2" %) | ||
1146 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)largeDirect | ||
1147 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1148 | (% style="line-height:1.2" %) | ||
1149 | (% style="color:#000000; font-family:Arial; font-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 | ||
1150 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1151 | (% style="line-height:1.2" %) | ||
1152 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)направление максимальной поверхности | ||
1153 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1154 | (% style="line-height:1.2" %) | ||
1155 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getLargeDirect() | ||
1156 | ))) | ||
1157 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1158 | (% style="line-height:1.2" %) | ||
1159 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeX | ||
1160 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1161 | (% style="line-height:1.2" %) | ||
1162 | (% style="color:#000000; font-family:Arial; font-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 | ||
1163 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1164 | (% style="line-height:1.2" %) | ||
1165 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)расстояние границ вдоль оси OX | ||
1166 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1167 | (% style="line-height:1.2" %) | ||
1168 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeX() | ||
1169 | ))) | ||
1170 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1171 | (% style="line-height:1.2" %) | ||
1172 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeY | ||
1173 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1174 | (% style="line-height:1.2" %) | ||
1175 | (% style="color:#000000; font-family:Arial; font-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 | ||
1176 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1177 | (% style="line-height:1.2" %) | ||
1178 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)расстояние границ вдоль оси OY | ||
1179 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1180 | (% style="line-height:1.2" %) | ||
1181 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeY() | ||
1182 | ))) | ||
1183 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1184 | (% style="line-height:1.2" %) | ||
1185 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeZ | ||
1186 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1187 | (% style="line-height:1.2" %) | ||
1188 | (% style="color:#000000; font-family:Arial; font-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 | ||
1189 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1190 | (% style="line-height:1.2" %) | ||
1191 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)расстояние границ вдоль оси OZ | ||
1192 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1193 | (% style="line-height:1.2" %) | ||
1194 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeZ() | ||
1195 | ))) | ||
1196 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:124px" %)((( | ||
1197 | (% style="line-height:1.2" %) | ||
1198 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)bounds | ||
1199 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:163px" %)((( | ||
1200 | (% style="line-height:1.2" %) | ||
1201 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Bounds | ||
1202 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:333px" %)((( | ||
1203 | (% style="line-height:1.2" %) | ||
1204 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)структура границ | ||
1205 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:225px" %)((( | ||
1206 | (% style="line-height:1.2" %) | ||
1207 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBounds() | ||
1208 | ))) | ||
1209 | ))) | ||
1210 | |||
1211 | Структура границ Bounds: | ||
1212 | |||
1213 | ((( | ||
1214 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; table-layout:fixed; width:856px" %) | ||
1215 | |(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %)((( | ||
1216 | (% style="line-height:1.2" %) | ||
1217 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)min | ||
1218 | )))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %) |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:332px" width="NaN" %)((( | ||
1219 | (% style="line-height:1.2" %) | ||
1220 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)вектор координат x, y, z минимальной точки границы | ||
1221 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:222px" width="NaN" %) | ||
1222 | |(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %)((( | ||
1223 | (% style="line-height:1.2" %) | ||
1224 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)max | ||
1225 | )))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %) |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:332px" width="NaN" %)((( | ||
1226 | (% style="line-height:1.2" %) | ||
1227 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)вектор координат x, y, z максимальной точки границы | ||
1228 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:222px" width="NaN" %) | ||
1229 | ))) | ||
1230 | |||
1231 | **Пример использования:** | ||
1232 | |||
1233 | {{code language="java"}} | ||
1234 | def geometryElement = bim.getGeometryElement(UUID.fromString("e5a114d0-7de1-11ec-90d6-0242ac120003") | ||
1235 | def globalId = geometryElement .getGlobalId() | ||
1236 | |||
1237 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
1238 | def volumeElement = geometryElement .getVolume() | ||
1239 | |||
1240 | // console.info(volumeElement.toString()) -> “INFO: 0.1” | ||
1241 | |||
1242 | {{/code}} | ||
1243 | |||
1244 | |||
1245 | (% class="box infomessage" %) | ||
1246 | ((( | ||
1247 | **{{id name="_Toc11"/}}getGeometryElements** - функция получения списка элементов с полной информацией и дополнительно параметры геометрии | ||
1248 | ))) | ||
1249 | |||
1250 | * **bim.getGeometryElements(Условие поиска)** | ||
1251 | * **bim.getGeometryElements(Список идентификаторов элементов)** | ||
1252 | |||
1253 | **Примеры использования:** | ||
1254 | |||
1255 | {{code language="java"}} | ||
1256 | def conditionWall = bim.createCondition("class", "eq", "IfcWall") | ||
1257 | def listWalls = bim.getGeometryElements (conditionWall ) | ||
1258 | for (Element geometryElement: listWalls ) { | ||
1259 | def globalId = geometryElement.getGlobalId() | ||
1260 | |||
1261 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
1262 | def volumeElement = geometryElement .getVolume() | ||
1263 | |||
1264 | // console.info(volumeElement.toString()) -> “INFO: 0.1” | ||
1265 | } | ||
1266 | |||
1267 | {{/code}} | ||
1268 | |||
1269 | |||
1270 | {{code language="java"}} | ||
1271 | def elements = new HashSet<UUID>() | ||
1272 | elements.add(UUID.randomUuid()) | ||
1273 | def listElements = bim.getGeometryElements(elements) | ||
1274 | for (Element geometryElement: listElements ) { | ||
1275 | def globalId = geometryElement.getGlobalId() | ||
1276 | |||
1277 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
1278 | def volumeElement = geometryElement .getVolume() | ||
1279 | |||
1280 | // console.info(volumeElement.toString()) -> “INFO: 0.1” | ||
1281 | } | ||
1282 | {{/code}} | ||
1283 | |||
1284 | |||
1285 | (% class="box infomessage" %) | ||
1286 | ((( | ||
1287 | **{{id name="_Toc12"/}}getGeometryProject** - взятие данных о проекта с добавленными данными по геометрии модели: границы и размеры границ по осям OX,OY,OZ | ||
1288 | ))) | ||
1289 | |||
1290 | * **bim.getGeometryProject()** | ||
1291 | |||
1292 | ((( | ||
1293 | (% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:850px" %) | ||
1294 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1295 | (% style="line-height:1.2" %) | ||
1296 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
1297 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1298 | (% style="line-height:1.2" %) | ||
1299 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
1300 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1301 | (% style="line-height:1.2" %) | ||
1302 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
1303 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1304 | (% style="line-height:1.2" %) | ||
1305 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
1306 | ))) | ||
1307 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1308 | (% style="line-height:1.2" %) | ||
1309 | (% style="color:#000000; font-family:Arial; font-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 | ||
1310 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1311 | (% style="line-height:1.2" %) | ||
1312 | (% style="color:#000000; font-family:Arial; font-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 | ||
1313 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1314 | (% style="line-height:1.2" %) | ||
1315 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта | ||
1316 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1317 | (% style="line-height:1.2" %) | ||
1318 | (% style="color:#000000; font-family:Arial; font-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() | ||
1319 | ))) | ||
1320 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1321 | (% style="line-height:1.2" %) | ||
1322 | (% style="color:#000000; font-family:Arial; font-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 | ||
1323 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1324 | (% style="line-height:1.2" %) | ||
1325 | (% style="color:#000000; font-family:Arial; font-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 | ||
1326 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1327 | (% style="line-height:1.2" %) | ||
1328 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)уникальное название английское | ||
1329 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1330 | (% style="line-height:1.2" %) | ||
1331 | (% style="color:#000000; font-family:Arial; font-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() | ||
1332 | ))) | ||
1333 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1334 | (% style="line-height:1.2" %) | ||
1335 | (% style="color:#000000; font-family:Arial; font-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 | ||
1336 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1337 | (% style="line-height:1.2" %) | ||
1338 | (% style="color:#000000; font-family:Arial; font-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 | ||
1339 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1340 | (% style="line-height:1.2" %) | ||
1341 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок | ||
1342 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1343 | (% style="line-height:1.2" %) | ||
1344 | (% style="color:#000000; font-family:Arial; font-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() | ||
1345 | ))) | ||
1346 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1347 | (% style="line-height:1.2" %) | ||
1348 | (% style="color:#000000; font-family:Arial; font-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 | ||
1349 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1350 | (% style="line-height:1.2" %) | ||
1351 | (% style="color:#000000; font-family:Arial; font-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 | ||
1352 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1353 | (% style="line-height:1.2" %) | ||
1354 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание | ||
1355 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1356 | (% style="line-height:1.2" %) | ||
1357 | (% style="color:#000000; font-family:Arial; font-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() | ||
1358 | ))) | ||
1359 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1360 | (% style="line-height:1.2" %) | ||
1361 | (% style="color:#000000; font-family:Arial; font-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 | ||
1362 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1363 | (% style="line-height:1.2" %) | ||
1364 | (% style="color:#000000; font-family:Arial; font-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 | ||
1365 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1366 | (% style="line-height:1.2" %) | ||
1367 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)цвет метки проекта | ||
1368 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1369 | (% style="line-height:1.2" %) | ||
1370 | (% style="color:#000000; font-family:Arial; font-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() | ||
1371 | ))) | ||
1372 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1373 | (% style="line-height:1.2" %) | ||
1374 | (% style="color:#000000; font-family:Arial; font-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 | ||
1375 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1376 | (% style="line-height:1.2" %) | ||
1377 | (% style="color:#000000; font-family:Arial; font-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 | ||
1378 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1379 | (% style="line-height:1.2" %) | ||
1380 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на картинку превью проекта | ||
1381 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1382 | (% style="line-height:1.2" %) | ||
1383 | (% style="color:#000000; font-family:Arial; font-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() | ||
1384 | ))) | ||
1385 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1386 | (% style="line-height:1.2" %) | ||
1387 | (% style="color:#000000; font-family:Arial; font-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 | ||
1388 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1389 | (% style="line-height:1.2" %) | ||
1390 | (% style="color:#000000; font-family:Arial; font-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 | ||
1391 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1392 | (% style="line-height:1.2" %) | ||
1393 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания | ||
1394 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1395 | (% style="line-height:1.2" %) | ||
1396 | (% style="color:#000000; font-family:Arial; font-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() | ||
1397 | ))) | ||
1398 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1399 | (% style="line-height:1.2" %) | ||
1400 | (% style="color:#000000; font-family:Arial; font-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 | ||
1401 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1402 | (% style="line-height:1.2" %) | ||
1403 | (% style="color:#000000; font-family:Arial; font-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 | ||
1404 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1405 | (% style="line-height:1.2" %) | ||
1406 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата последнего редактирования | ||
1407 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1408 | (% style="line-height:1.2" %) | ||
1409 | (% style="color:#000000; font-family:Arial; font-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() | ||
1410 | ))) | ||
1411 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1412 | (% style="line-height:1.2" %) | ||
1413 | (% style="color:#000000; font-family:Arial; font-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 | ||
1414 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1415 | (% style="line-height:1.2" %) | ||
1416 | (% style="color:#000000; font-family:Arial; font-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 | ||
1417 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1418 | (% style="line-height:1.2" %) | ||
1419 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя автора проекта | ||
1420 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1421 | (% style="line-height:1.2" %) | ||
1422 | (% style="color:#000000; font-family:Arial; font-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() | ||
1423 | ))) | ||
1424 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1425 | (% style="line-height:1.38" %) | ||
1426 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeX | ||
1427 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1428 | (% style="line-height:1.2" %) | ||
1429 | (% style="color:#000000; font-family:Arial; font-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 | ||
1430 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1431 | (% style="line-height:1.38" %) | ||
1432 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)длина проектной модели вдоль оси ОХ | ||
1433 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1434 | (% style="line-height:1.2" %) | ||
1435 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeX() | ||
1436 | ))) | ||
1437 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1438 | (% style="line-height:1.38" %) | ||
1439 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeY | ||
1440 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1441 | (% style="line-height:1.2" %) | ||
1442 | (% style="color:#000000; font-family:Arial; font-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 | ||
1443 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1444 | (% style="line-height:1.38" %) | ||
1445 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)длина проектной модели вдоль оси ОY | ||
1446 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1447 | (% style="line-height:1.2" %) | ||
1448 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeY() | ||
1449 | ))) | ||
1450 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1451 | (% style="line-height:1.38" %) | ||
1452 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeZ | ||
1453 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1454 | (% style="line-height:1.2" %) | ||
1455 | (% style="color:#000000; font-family:Arial; font-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 | ||
1456 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1457 | (% style="line-height:1.38" %) | ||
1458 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)длина проектной модели вдоль оси ОZ | ||
1459 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1460 | (% style="line-height:1.2" %) | ||
1461 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeZ() | ||
1462 | ))) | ||
1463 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:135px" width="NaN" %)((( | ||
1464 | (% style="line-height:1.38" %) | ||
1465 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)bounds | ||
1466 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( | ||
1467 | (% style="line-height:1.2" %) | ||
1468 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Bounds | ||
1469 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:313px" %)((( | ||
1470 | (% style="line-height:1.38" %) | ||
1471 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)структура границы проектной модели | ||
1472 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:236px" %)((( | ||
1473 | (% style="line-height:1.2" %) | ||
1474 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBounds() | ||
1475 | ))) | ||
1476 | |||
1477 | Структура границ Bounds: | ||
1478 | |||
1479 | ((( | ||
1480 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
1481 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:134px" %)((( | ||
1482 | (% style="line-height:1.38" %) | ||
1483 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)min | ||
1484 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:160px" %) |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:311px" %)((( | ||
1485 | (% style="line-height:1.38" %) | ||
1486 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)вектор координат x, y, z минимальной точки границы | ||
1487 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:232px" %) | ||
1488 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:134px" %)((( | ||
1489 | (% style="line-height:1.38" %) | ||
1490 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)max | ||
1491 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:160px" %) |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:311px" %)((( | ||
1492 | (% style="line-height:1.38" %) | ||
1493 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)вектор координат x, y, z максимальной точки границы | ||
1494 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:232px" %) | ||
1495 | ))) | ||
1496 | ))) | ||
1497 | |||
1498 | **Пример использования:** | ||
1499 | |||
1500 | {{code language="java"}} | ||
1501 | def geometryProject = bim.getGeometryProject() | ||
1502 | def bounds = geometryProject.getBounds() | ||
1503 | |||
1504 | {{/code}} | ||
1505 | |||
1506 | |||
1507 | (% class="box infomessage" %) | ||
1508 | ((( | ||
1509 | **{{id name="_Toc13"/}}getGeometryModel** - взятие данных о модели по ее идентификатору с добавленными данными по геометрии модели: границы и размеры границ по осям OX,OY,OZ | ||
1510 | ))) | ||
1511 | |||
1512 | * **bim.getGeometryModel()** | ||
1513 | |||
1514 | ((( | ||
1515 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
1516 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1517 | (% style="line-height:1.2" %) | ||
1518 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
1519 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1520 | (% style="line-height:1.2" %) | ||
1521 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
1522 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1523 | (% style="line-height:1.2" %) | ||
1524 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
1525 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1526 | (% style="line-height:1.2" %) | ||
1527 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
1528 | ))) | ||
1529 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1530 | (% style="line-height:1.38" %) | ||
1531 | (% style="color:#000000; font-family:Arial; font-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 | ||
1532 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1533 | (% style="line-height:1.38" %) | ||
1534 | (% style="color:#000000; font-family:Arial; font-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 | ||
1535 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1536 | (% style="line-height:1.38" %) | ||
1537 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор модели | ||
1538 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1539 | (% style="line-height:1.38" %) | ||
1540 | (% style="color:#000000; font-family:Arial; font-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() | ||
1541 | ))) | ||
1542 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1543 | (% style="line-height:1.38" %) | ||
1544 | (% style="color:#000000; font-family:Arial; font-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 | ||
1545 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1546 | (% style="line-height:1.38" %) | ||
1547 | (% style="color:#000000; font-family:Arial; font-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 | ||
1548 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1549 | (% style="line-height:1.38" %) | ||
1550 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование модели | ||
1551 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1552 | (% style="line-height:1.38" %) | ||
1553 | (% style="color:#000000; font-family:Arial; font-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() | ||
1554 | ))) | ||
1555 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1556 | (% style="line-height:1.38" %) | ||
1557 | (% style="color:#000000; font-family:Arial; font-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 | ||
1558 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1559 | (% style="line-height:1.38" %) | ||
1560 | (% style="color:#000000; font-family:Arial; font-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 | ||
1561 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1562 | (% style="line-height:1.38" %) | ||
1563 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок модели | ||
1564 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1565 | (% style="line-height:1.38" %) | ||
1566 | (% style="color:#000000; font-family:Arial; font-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() | ||
1567 | ))) | ||
1568 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1569 | (% style="line-height:1.38" %) | ||
1570 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)archived | ||
1571 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1572 | (% style="line-height:1.38" %) | ||
1573 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boolean | ||
1574 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1575 | (% style="line-height:1.38" %) | ||
1576 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)флаг актиности модели | ||
1577 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1578 | (% style="line-height:1.38" %) | ||
1579 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getArchived() | ||
1580 | ))) | ||
1581 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1582 | (% style="line-height:1.38" %) | ||
1583 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)offsetX | ||
1584 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1585 | (% style="line-height:1.38" %) | ||
1586 | (% style="color:#000000; font-family:Arial; font-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 | ||
1587 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1588 | (% style="line-height:1.38" %) | ||
1589 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)смещение модели по оси X | ||
1590 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1591 | (% style="line-height:1.38" %) | ||
1592 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getOffsetX() | ||
1593 | ))) | ||
1594 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1595 | (% style="line-height:1.38" %) | ||
1596 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)offsetY | ||
1597 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1598 | (% style="line-height:1.38" %) | ||
1599 | (% style="color:#000000; font-family:Arial; font-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 | ||
1600 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1601 | (% style="line-height:1.38" %) | ||
1602 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)смещение модели по оси Y | ||
1603 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1604 | (% style="line-height:1.38" %) | ||
1605 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getOffsetY() | ||
1606 | ))) | ||
1607 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1608 | (% style="line-height:1.38" %) | ||
1609 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)offsetZ | ||
1610 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1611 | (% style="line-height:1.38" %) | ||
1612 | (% style="color:#000000; font-family:Arial; font-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 | ||
1613 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1614 | (% style="line-height:1.38" %) | ||
1615 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)смещение модели по оси Z | ||
1616 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1617 | (% style="line-height:1.38" %) | ||
1618 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getOffsetZ() | ||
1619 | ))) | ||
1620 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1621 | (% style="line-height:1.38" %) | ||
1622 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)eulerX | ||
1623 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1624 | (% style="line-height:1.38" %) | ||
1625 | (% style="color:#000000; font-family:Arial; font-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 | ||
1626 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1627 | (% style="line-height:1.38" %) | ||
1628 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Эйлеровский поворот модели вокруг оси OX | ||
1629 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1630 | (% style="line-height:1.38" %) | ||
1631 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getEulerX() | ||
1632 | ))) | ||
1633 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1634 | (% style="line-height:1.38" %) | ||
1635 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)eulerY | ||
1636 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1637 | (% style="line-height:1.38" %) | ||
1638 | (% style="color:#000000; font-family:Arial; font-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 | ||
1639 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1640 | (% style="line-height:1.38" %) | ||
1641 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Эйлеровский поворот модели вокруг оси OY | ||
1642 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1643 | (% style="line-height:1.38" %) | ||
1644 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getEulerY() | ||
1645 | ))) | ||
1646 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1647 | (% style="line-height:1.38" %) | ||
1648 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)eulerZ | ||
1649 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1650 | (% style="line-height:1.38" %) | ||
1651 | (% style="color:#000000; font-family:Arial; font-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 | ||
1652 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1653 | (% style="line-height:1.38" %) | ||
1654 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Эйлеровский поворот модели вокруг оси OZ | ||
1655 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1656 | (% style="line-height:1.38" %) | ||
1657 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getEulerZ() | ||
1658 | ))) | ||
1659 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1660 | (% style="line-height:1.38" %) | ||
1661 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)sortOrder | ||
1662 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1663 | (% style="line-height:1.38" %) | ||
1664 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)int32 | ||
1665 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1666 | (% style="line-height:1.38" %) | ||
1667 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)порядок сортировки модели в своем уровне | ||
1668 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1669 | (% style="line-height:1.38" %) | ||
1670 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getSortOrder() | ||
1671 | ))) | ||
1672 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1673 | (% style="line-height:1.38" %) | ||
1674 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)realOffsetX | ||
1675 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1676 | (% style="line-height:1.38" %) | ||
1677 | (% style="color:#000000; font-family:Arial; font-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 | ||
1678 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1679 | (% style="line-height:1.38" %) | ||
1680 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)смещение модели по оси X с учетом родительского смещения | ||
1681 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1682 | (% style="line-height:1.38" %) | ||
1683 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getRealOffsetX() | ||
1684 | ))) | ||
1685 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1686 | (% style="line-height:1.38" %) | ||
1687 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)realOffsetY | ||
1688 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1689 | (% style="line-height:1.38" %) | ||
1690 | (% style="color:#000000; font-family:Arial; font-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 | ||
1691 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1692 | (% style="line-height:1.38" %) | ||
1693 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)смещение модели по оси Y с учетом родительского смещения | ||
1694 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1695 | (% style="line-height:1.38" %) | ||
1696 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getRealOffsetY() | ||
1697 | ))) | ||
1698 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1699 | (% style="line-height:1.38" %) | ||
1700 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)realOffsetZ | ||
1701 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1702 | (% style="line-height:1.38" %) | ||
1703 | (% style="color:#000000; font-family:Arial; font-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 | ||
1704 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1705 | (% style="line-height:1.38" %) | ||
1706 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)смещение модели по оси Z с учетом родительского смещения | ||
1707 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1708 | (% style="line-height:1.38" %) | ||
1709 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getRealOffsetZ() | ||
1710 | ))) | ||
1711 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1712 | (% style="line-height:1.38" %) | ||
1713 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)realEulerX | ||
1714 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1715 | (% style="line-height:1.38" %) | ||
1716 | (% style="color:#000000; font-family:Arial; font-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 | ||
1717 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1718 | (% style="line-height:1.38" %) | ||
1719 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Эйлеровский поворот модели вокруг оси OX с учетом родительского поворота | ||
1720 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1721 | (% style="line-height:1.38" %) | ||
1722 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getRealEulerX() | ||
1723 | ))) | ||
1724 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1725 | (% style="line-height:1.38" %) | ||
1726 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)realEulerY | ||
1727 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1728 | (% style="line-height:1.38" %) | ||
1729 | (% style="color:#000000; font-family:Arial; font-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 | ||
1730 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1731 | (% style="line-height:1.38" %) | ||
1732 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Эйлеровский поворот модели вокруг оси OY с учетом родительского поворота | ||
1733 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1734 | (% style="line-height:1.38" %) | ||
1735 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getRealEulerY() | ||
1736 | ))) | ||
1737 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1738 | (% style="line-height:1.38" %) | ||
1739 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)realEulerZ | ||
1740 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1741 | (% style="line-height:1.38" %) | ||
1742 | (% style="color:#000000; font-family:Arial; font-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 | ||
1743 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1744 | (% style="line-height:1.38" %) | ||
1745 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Эйлеровский поворот модели вокруг оси OZ с учетом родительского поворота | ||
1746 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1747 | (% style="line-height:1.38" %) | ||
1748 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getRealEulerZ() | ||
1749 | ))) | ||
1750 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1751 | (% style="line-height:1.38" %) | ||
1752 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)model | ||
1753 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1754 | (% style="line-height:1.38" %) | ||
1755 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив Model | ||
1756 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1757 | (% style="line-height:1.38" %) | ||
1758 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)подмодели | ||
1759 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1760 | (% style="line-height:1.38" %) | ||
1761 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getModel() | ||
1762 | ))) | ||
1763 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1764 | (% style="line-height:1.38" %) | ||
1765 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeX | ||
1766 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1767 | (% style="line-height:1.38" %) | ||
1768 | (% style="color:#000000; font-family:Arial; font-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 | ||
1769 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1770 | (% style="line-height:1.38" %) | ||
1771 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)длина проектной модели вдоль оси ОХ | ||
1772 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1773 | (% style="line-height:1.38" %) | ||
1774 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeX() | ||
1775 | ))) | ||
1776 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1777 | (% style="line-height:1.38" %) | ||
1778 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeY | ||
1779 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1780 | (% style="line-height:1.38" %) | ||
1781 | (% style="color:#000000; font-family:Arial; font-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 | ||
1782 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1783 | (% style="line-height:1.38" %) | ||
1784 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)длина проектной модели вдоль оси ОY | ||
1785 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1786 | (% style="line-height:1.38" %) | ||
1787 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeY() | ||
1788 | ))) | ||
1789 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1790 | (% style="line-height:1.38" %) | ||
1791 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boundSizeZ | ||
1792 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1793 | (% style="line-height:1.38" %) | ||
1794 | (% style="color:#000000; font-family:Arial; font-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 | ||
1795 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1796 | (% style="line-height:1.38" %) | ||
1797 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)длина проектной модели вдоль оси ОZ | ||
1798 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1799 | (% style="line-height:1.38" %) | ||
1800 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBoundSizeZ() | ||
1801 | ))) | ||
1802 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:131px" %)((( | ||
1803 | (% style="line-height:1.38" %) | ||
1804 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)bounds | ||
1805 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:138px" %)((( | ||
1806 | (% style="line-height:1.38" %) | ||
1807 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Bounds | ||
1808 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:328px" %)((( | ||
1809 | (% style="line-height:1.38" %) | ||
1810 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)структура границы проектной модели | ||
1811 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
1812 | (% style="line-height:1.38" %) | ||
1813 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getBounds() | ||
1814 | ))) | ||
1815 | ))) | ||
1816 | |||
1817 | Структура границ Bounds: | ||
1818 | |||
1819 | ((( | ||
1820 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
1821 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:129px" %)((( | ||
1822 | (% style="line-height:1.38" %) | ||
1823 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)min | ||
1824 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %) |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:331px" %)((( | ||
1825 | (% style="line-height:1.38" %) | ||
1826 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)вектор координат x, y, z минимальной точки границы | ||
1827 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:232px" %) | ||
1828 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:129px" %)((( | ||
1829 | (% style="line-height:1.38" %) | ||
1830 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)max | ||
1831 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %) |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:331px" %)((( | ||
1832 | (% style="line-height:1.38" %) | ||
1833 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)вектор координат x, y, z максимальной точки границы | ||
1834 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:232px" %) | ||
1835 | ))) | ||
1836 | |||
1837 | **Пример использования:** | ||
1838 | |||
1839 | {{code language="java"}} | ||
1840 | def geometryModel = bim.getGeometryModel(UUID.fromString("ac178efe-7e8d-11ec-90d6-0242ac120003") | ||
1841 | def bounds = geometryModel.getBounds() | ||
1842 | |||
1843 | {{/code}} | ||
1844 | |||
1845 | |||
1846 | (% class="box infomessage" %) | ||
1847 | ((( | ||
1848 | **{{id name="_Toc14"/}}getGeometryElementA** - специфичная функция получения полной информации о элементе и дополнительно параметры геометрии для расчета коллизий (сторона А, если существует) | ||
1849 | ))) | ||
1850 | |||
1851 | * **bim.getGeometryElementA()** | ||
1852 | |||
1853 | **Пример использования:** | ||
1854 | |||
1855 | {{code language="java"}} | ||
1856 | def geometryElement = bim.getGeometryElementA() | ||
1857 | def globalId = geometryElement .getGlobalId() | ||
1858 | |||
1859 | // console.info(globalId) -> “INFO: 16BLvbdfv9tvbtZs9KMly$” | ||
1860 | def volumeElement = geometryElement .getVolume() | ||
1861 | |||
1862 | // console.info(volumeElement.toString()) -> “INFO: 1.34” | ||
1863 | {{/code}} | ||
1864 | |||
1865 | |||
1866 | (% class="box infomessage" %) | ||
1867 | ((( | ||
1868 | **{{id name="_Toc15"/}}getGeometryElementB** - специфичная функция получения полной информации о элементе и дополнительно параметры геометрии для расчета коллизий (сторона B, если существует) | ||
1869 | ))) | ||
1870 | |||
1871 | * **bim.getGeometryElementB()** | ||
1872 | |||
1873 | **Пример использования:** | ||
1874 | |||
1875 | {{code language="java"}} | ||
1876 | def geometryElement = bim.getGeometryElementB() | ||
1877 | def globalId = geometryElement .getGlobalId() | ||
1878 | |||
1879 | // console.info(globalId) -> “INFO: 16BLvbdfv9tvbtZs9KMly$” | ||
1880 | def volumeElement = geometryElement .getVolume() | ||
1881 | |||
1882 | // console.info(volumeElement.toString()) -> “INFO: 1.01” | ||
1883 | {{/code}} | ||
1884 | |||
1885 | |||
1886 | (% class="box infomessage" %) | ||
1887 | ((( | ||
1888 | **{{id name="_Toc22"/}}bim.getGeometryObject(uuid) **- функция получения координат элемента для формирования объемной модели или отрисовки на экране | ||
1889 | ))) | ||
1890 | |||
1891 | * **bim.getGeometryObject(Идентификатор элемента)** | ||
1892 | |||
1893 | (% class="box infomessage" %) | ||
1894 | ((( | ||
1895 | **{{id name="_Toc16"/}}showElements** - функция отображения на экране списка элементов (выбор/подсветка на модели) | ||
1896 | ))) | ||
1897 | |||
1898 | * **bim.showElements(Условие поиска)** | ||
1899 | * **bim.showElements(список глобальных идентификаторов элементов)** | ||
1900 | * **bim.showElements(список идентификаторов элементов)** | ||
1901 | * **bim.showElements(список элементов)** | ||
1902 | * **bim.showElements(элемент1,элемент2,...)** | ||
1903 | * **bim.showElement(элемент) - показ одного элемента** | ||
1904 | |||
1905 | **Примеры использования:** | ||
1906 | |||
1907 | {{code language="java"}} | ||
1908 | def conditionWall = bim.createCondition("class", "eq", "IfcWall") | ||
1909 | def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") | ||
1910 | bim.showElements(conditionWall | conditionDoor ) | ||
1911 | |||
1912 | {{/code}} | ||
1913 | |||
1914 | {{code language="java"}} | ||
1915 | bim.showElements(["dhb487dbcsndb","salndhkjfnjkenkjsd","sdfsdfadsdfsad"]) | ||
1916 | {{/code}} | ||
1917 | |||
1918 | {{code language="java"}} | ||
1919 | bim.showElements([UUID.fromString("ac178efe-7e8d-11ec-90d6-0242ac120003",UUID.fromString("e5a114d0-7de1-11ec-90d6-0242ac120003"]) | ||
1920 | {{/code}} | ||
1921 | |||
1922 | {{code language="java"}} | ||
1923 | def elementCondition = bim.createCondition("attribute","width", "gt", "1000") | ||
1924 | def elements = bim.getElements(elementCondition) | ||
1925 | bim.showElements(elements) | ||
1926 | |||
1927 | {{/code}} | ||
1928 | |||
1929 | |||
1930 | (% class="box infomessage" %) | ||
1931 | ((( | ||
1932 | **{{id name="_Toc17"/}}createGroupElements** - создание (объединение) элементов в группы с указанием цвета в формате HEX | ||
1933 | ))) | ||
1934 | |||
1935 | * **bim.createGroupElements (Цвет, Условие поиска)** | ||
1936 | * **bim.createGroupElements (Цвет, список элементов)** | ||
1937 | * **bim.createGroupElements (Цвет, список идентификаторов элементов)** | ||
1938 | |||
1939 | **Примеры использования:** | ||
1940 | |||
1941 | {{code language="java"}} | ||
1942 | def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") | ||
1943 | bim.createGroupElements("#FF9933", conditionDoor ) | ||
1944 | |||
1945 | {{/code}} | ||
1946 | |||
1947 | {{code language="java"}} | ||
1948 | def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") | ||
1949 | def elements = bim.getElements(conditionDoor) | ||
1950 | bim.createGroupElements("#FF9933", elements) | ||
1951 | {{/code}} | ||
1952 | |||
1953 | |||
1954 | {{code language="java"}} | ||
1955 | bim.createGroupElements("#FF9933", ["dhb487dbcsndb","salndhkjfnjkenkjsd","sdfsdfadsdfsad"] ) | ||
1956 | {{/code}} | ||
1957 | |||
1958 | |||
1959 | |||
1960 | (% class="box infomessage" %) | ||
1961 | ((( | ||
1962 | **{{id name="_Toc18"/}}showGroupElements** - функция отображения/подсветки на экране ранее созданных групп элементов | ||
1963 | ))) | ||
1964 | |||
1965 | * **bim.showGroupElements()** | ||
1966 | |||
1967 | **Пример использования:** | ||
1968 | |||
1969 | {{code language="java"}} | ||
1970 | bim.showGroupElements() | ||
1971 | {{/code}} | ||
1972 | |||
1973 | |||
1974 | (% class="box infomessage" %) | ||
1975 | ((( | ||
1976 | **{{id name="_Toc19"/}}createCondition** - функция создания условия поиска элементов | ||
1977 | ))) | ||
1978 | |||
1979 | * **bim.createCondition([[параметр поиска>>path:#_Toc24]], [[операторы сравнения>>path:#_Toc23]] ,значение для поиска)** | ||
1980 | * **bim.createCondition([[параметр поиска>>path:#_Toc24]] по атрибуту, наименование атрибута, [[операторы сравнения>>path:#_Toc23]],значение поиска атрибута)** | ||
1981 | * **bim.createCondition([[параметр поиска>>path:#_Toc24]] по атрибуту, наименование группы атрибутов,наименование атрибута, [[операторы сравнения>>path:#_Toc23]],значение поиска атрибута)** | ||
1982 | |||
1983 | **Примеры использования:** | ||
1984 | |||
1985 | {{code language="java"}} | ||
1986 | def conditionWall = bim.createCondition("class", "eq", "IfcWall") | ||
1987 | def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") | ||
1988 | bim.showElements(conditionWall | conditionDoor ) | ||
1989 | |||
1990 | {{/code}} | ||
1991 | |||
1992 | |||
1993 | {{code language="java"}} | ||
1994 | def elementCondition = bim.createCondition("attribute","width", "gt", "1000") | ||
1995 | bim.showElements(elementCondition) | ||
1996 | {{/code}} | ||
1997 | |||
1998 | |||
1999 | {{code language="java"}} | ||
2000 | def elementCondition = bim.createCondition("attribute","BaseQuantities","width", "gt", "1000") | ||
2001 | bim.showElements(elementCondition) | ||
2002 | |||
2003 | {{/code}} | ||
2004 | |||
2005 | |||
2006 | |||
2007 | (% class="box infomessage" %) | ||
2008 | ((( | ||
2009 | **{{id name="_Toc20"/}}getProjectCollisions** - функция получения списка коллизий проекта | ||
2010 | ))) | ||
2011 | |||
2012 | * **bim.getProjectCollisions()** | ||
2013 | * **bim.getProjectCollisions(Статус коллизии)** | ||
2014 | |||
2015 | ((( | ||
2016 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
2017 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2018 | (% style="line-height:1.2" %) | ||
2019 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
2020 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2021 | (% style="line-height:1.2" %) | ||
2022 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
2023 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2024 | (% style="line-height:1.2" %) | ||
2025 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
2026 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2027 | (% style="line-height:1.2" %) | ||
2028 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
2029 | ))) | ||
2030 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2031 | (% style="line-height:1.38" %) | ||
2032 | (% style="color:#000000; font-family:Arial; font-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 | ||
2033 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2034 | (% style="line-height:1.38" %) | ||
2035 | (% style="color:#000000; font-family:Arial; font-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 | ||
2036 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2037 | (% style="line-height:1.38" %) | ||
2038 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор коллизии | ||
2039 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2040 | (% style="line-height:1.38" %) | ||
2041 | (% style="color:#000000; font-family:Arial; font-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() | ||
2042 | ))) | ||
2043 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2044 | (% style="line-height:1.38" %) | ||
2045 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)status | ||
2046 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2047 | (% style="line-height:1.38" %) | ||
2048 | (% style="color:#000000; font-family:Arial; font-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: | ||
2049 | |||
2050 | (% style="line-height:1.38" %) | ||
2051 | (% style="color:#000000; font-family:Arial; font-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, WORK, SOLVED, ALLOWED | ||
2052 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2053 | (% style="line-height:1.38" %) | ||
2054 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)статус коллизии | ||
2055 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2056 | (% style="line-height:1.38" %) | ||
2057 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getStatus() | ||
2058 | ))) | ||
2059 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2060 | (% style="line-height:1.38" %) | ||
2061 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementBUuid | ||
2062 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2063 | (% style="line-height:1.38" %) | ||
2064 | (% style="color:#000000; font-family:Arial; font-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 | ||
2065 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2066 | (% style="line-height:1.38" %) | ||
2067 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентифкатор элемента сторона 2 если есть | ||
2068 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2069 | (% style="line-height:1.38" %) | ||
2070 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementBUuid() | ||
2071 | ))) | ||
2072 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2073 | (% style="line-height:1.38" %) | ||
2074 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)elementAUuid | ||
2075 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2076 | (% style="line-height:1.38" %) | ||
2077 | (% style="color:#000000; font-family:Arial; font-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 | ||
2078 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2079 | (% style="line-height:1.38" %) | ||
2080 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентифкатор элемента сторона 1 если есть | ||
2081 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2082 | (% style="line-height:1.38" %) | ||
2083 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getElementAUuid() | ||
2084 | ))) | ||
2085 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2086 | (% style="line-height:1.38" %) | ||
2087 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)modelAUuid | ||
2088 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2089 | (% style="line-height:1.38" %) | ||
2090 | (% style="color:#000000; font-family:Arial; font-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 | ||
2091 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2092 | (% style="line-height:1.38" %) | ||
2093 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентифкатор модели сторона 1 если есть | ||
2094 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2095 | (% style="line-height:1.38" %) | ||
2096 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getModelAUuid() | ||
2097 | ))) | ||
2098 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2099 | (% style="line-height:1.38" %) | ||
2100 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)modelBUuid | ||
2101 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2102 | (% style="line-height:1.38" %) | ||
2103 | (% style="color:#000000; font-family:Arial; font-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 | ||
2104 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2105 | (% style="line-height:1.38" %) | ||
2106 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентифкатор модели сторона 2 если есть | ||
2107 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2108 | (% style="line-height:1.38" %) | ||
2109 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getModelBUuid() | ||
2110 | ))) | ||
2111 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2112 | (% style="line-height:1.38" %) | ||
2113 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)globalIdA | ||
2114 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2115 | (% style="line-height:1.38" %) | ||
2116 | (% style="color:#000000; font-family:Arial; font-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 | ||
2117 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2118 | (% style="line-height:1.38" %) | ||
2119 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)глобальный идентификатор элемента сторона 1 если есть | ||
2120 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2121 | (% style="line-height:1.38" %) | ||
2122 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getGlobalIdA() | ||
2123 | ))) | ||
2124 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2125 | (% style="line-height:1.38" %) | ||
2126 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)globalIdB | ||
2127 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2128 | (% style="line-height:1.38" %) | ||
2129 | (% style="color:#000000; font-family:Arial; font-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 | ||
2130 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2131 | (% style="line-height:1.38" %) | ||
2132 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)глобальный идентификатор элемента сторона 2 если есть | ||
2133 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2134 | (% style="line-height:1.38" %) | ||
2135 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getGlobalIdB() | ||
2136 | ))) | ||
2137 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2138 | (% style="line-height:1.38" %) | ||
2139 | (% style="color:#000000; font-family:Arial; font-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 | ||
2140 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2141 | (% style="line-height:1.38" %) | ||
2142 | (% style="color:#000000; font-family:Arial; font-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 | ||
2143 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2144 | (% style="line-height:1.38" %) | ||
2145 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата формирование коллизии | ||
2146 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2147 | (% style="line-height:1.38" %) | ||
2148 | (% style="color:#000000; font-family:Arial; font-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() | ||
2149 | ))) | ||
2150 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2151 | (% style="line-height:1.38" %) | ||
2152 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)shortDescription | ||
2153 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2154 | (% style="line-height:1.38" %) | ||
2155 | (% style="color:#000000; font-family:Arial; font-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 | ||
2156 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2157 | (% style="line-height:1.38" %) | ||
2158 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)краткое описание коллизии | ||
2159 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2160 | (% style="line-height:1.38" %) | ||
2161 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getShortDescription() | ||
2162 | ))) | ||
2163 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2164 | (% style="line-height:1.38" %) | ||
2165 | (% style="color:#000000; font-family:Arial; font-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 | ||
2166 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2167 | (% style="line-height:1.38" %) | ||
2168 | (% style="color:#000000; font-family:Arial; font-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 | ||
2169 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2170 | (% style="line-height:1.38" %) | ||
2171 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание коллизии | ||
2172 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2173 | (% style="line-height:1.38" %) | ||
2174 | (% style="color:#000000; font-family:Arial; font-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() | ||
2175 | ))) | ||
2176 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2177 | (% style="line-height:1.38" %) | ||
2178 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)finder | ||
2179 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2180 | (% style="line-height:1.38" %) | ||
2181 | (% style="color:#000000; font-family:Arial; font-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 | ||
2182 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2183 | (% style="line-height:1.38" %) | ||
2184 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор расчетного механизма, по которому получена коллизия | ||
2185 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2186 | (% style="line-height:1.38" %) | ||
2187 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getFinder() | ||
2188 | ))) | ||
2189 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2190 | (% style="line-height:1.38" %) | ||
2191 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)type | ||
2192 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2193 | (% style="line-height:1.38" %) | ||
2194 | (% style="color:#000000; font-family:Arial; font-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 | ||
2195 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2196 | (% style="line-height:1.38" %) | ||
2197 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)тип коллизии | ||
2198 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2199 | (% style="line-height:1.38" %) | ||
2200 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getType() | ||
2201 | ))) | ||
2202 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2203 | (% style="line-height:1.38" %) | ||
2204 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)value | ||
2205 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2206 | (% style="line-height:1.38" %) | ||
2207 | (% style="color:#000000; font-family:Arial; font-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 | ||
2208 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2209 | (% style="line-height:1.38" %) | ||
2210 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)значение коллизии | ||
2211 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2212 | (% style="line-height:1.38" %) | ||
2213 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getValue() | ||
2214 | ))) | ||
2215 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2216 | (% style="line-height:1.38" %) | ||
2217 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)note | ||
2218 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2219 | (% style="line-height:1.38" %) | ||
2220 | (% style="color:#000000; font-family:Arial; font-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 | ||
2221 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2222 | (% style="line-height:1.38" %) | ||
2223 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заметка по коллизии | ||
2224 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2225 | (% style="line-height:1.38" %) | ||
2226 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getNote() | ||
2227 | ))) | ||
2228 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2229 | (% style="line-height:1.38" %) | ||
2230 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)lastUpdateDate | ||
2231 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2232 | (% style="line-height:1.38" %) | ||
2233 | (% style="color:#000000; font-family:Arial; font-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 | ||
2234 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2235 | (% style="line-height:1.38" %) | ||
2236 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата последнего изменниея по коллизии | ||
2237 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2238 | (% style="line-height:1.38" %) | ||
2239 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getLastUpdateDate() | ||
2240 | ))) | ||
2241 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
2242 | (% style="line-height:1.38" %) | ||
2243 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)isAcceptable | ||
2244 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:153px" %)((( | ||
2245 | (% style="line-height:1.38" %) | ||
2246 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)boolean | ||
2247 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:253px" %)((( | ||
2248 | (% style="line-height:1.38" %) | ||
2249 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)флаг приемлемости коллизии | ||
2250 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:277px" %)((( | ||
2251 | (% style="line-height:1.38" %) | ||
2252 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getIsAcceptable() | ||
2253 | ))) | ||
2254 | ))) | ||
2255 | |||
2256 | **Примеры использования:** | ||
2257 | |||
2258 | {{code language="java"}} | ||
2259 | def listCollisions = bim.getProjectCollisions() | ||
2260 | for (def collsion: listCollisions ) { | ||
2261 | def globalAId = collsion.getGlobalAId() | ||
2262 | |||
2263 | // console.info(globalAId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
2264 | def globalBId = collsion.getGlobalBId() | ||
2265 | |||
2266 | // console.info(globalBId) -> “INFO: js89njhsihd9ffsd3kmll9hln0” | ||
2267 | } | ||
2268 | |||
2269 | {{/code}} | ||
2270 | |||
2271 | {{code language="java"}} | ||
2272 | def listCollisions = bim.getProjectCollisions("NEW") | ||
2273 | for (def collsion: listCollisions ) { | ||
2274 | def globalAId = collsion.getGlobalAId() | ||
2275 | |||
2276 | // console.info(globalAId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
2277 | def globalBId = collsion.getGlobalBId() | ||
2278 | |||
2279 | // console.info(globalBId) -> “INFO: js89njhsihd9ffsd3kmll9hln0” | ||
2280 | } | ||
2281 | |||
2282 | {{/code}} | ||
2283 | |||
2284 | |||
2285 | (% class="box infomessage" %) | ||
2286 | ((( | ||
2287 | **{{id name="_Toc21"/}}getModelCollisions** - функция получения списка коллизий модели | ||
2288 | ))) | ||
2289 | |||
2290 | * **bim.getModelCollisions(Идентификатор модели)** | ||
2291 | * **bim.getModelCollisions(Идентификатор модели, Статус коллизии) (см.Статусы коллизий)** | ||
2292 | |||
2293 | **Примеры использования:** | ||
2294 | |||
2295 | {{code language="java"}} | ||
2296 | def listCollisions = bim.getModelCollisions(UUID.fromString("ac178efe-7e8d-11ec-90d6-0242ac120003") | ||
2297 | for (def collsion: listCollisions ) { | ||
2298 | def globalAId = collsion.getGlobalAId() | ||
2299 | |||
2300 | // console.info(globalAId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
2301 | def globalBId = collsion.getGlobalBId() | ||
2302 | |||
2303 | // console.info(globalBId) -> “INFO: js89njhsihd9ffsd3kmll9hln0” | ||
2304 | } | ||
2305 | |||
2306 | {{/code}} | ||
2307 | |||
2308 | |||
2309 | {{code language="java"}} | ||
2310 | def listCollisions = bim.getModelCollisions(UUID.fromString("ac178efe-7e8d-11ec-90d6-0242ac120003", "NEW") | ||
2311 | for (def collsion: listCollisions ) { | ||
2312 | def globalAId = collsion.getGlobalAId() | ||
2313 | |||
2314 | // console.info(globalAId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
2315 | def globalBId = collsion.getGlobalBId() | ||
2316 | |||
2317 | // console.info(globalBId) -> “INFO: js89njhsihd9ffsd3kmll9hln0” | ||
2318 | } | ||
2319 | {{/code}} | ||
2320 | |||
2321 | |||
2322 | (% class="box infomessage" %) | ||
2323 | ((( | ||
2324 | **{{id name="_Toc26"/}}getCollisionsForReport()** - функция получения списка коллизий для отчета | ||
2325 | ))) | ||
2326 | |||
2327 | * **bim.getCollisionsForReport()** | ||
2328 | **Пример использования:** | ||
2329 | |||
2330 | |||
2331 | {{code language="java"}} | ||
2332 | def collisionList = bim.getCollisionsForReport() | ||
2333 | def param = [:] | ||
2334 | param.add(“pageSize”, 3) | ||
2335 | param.add(“fontSize”, 12) | ||
2336 | file.collisionsToPdf(template, collisionList, param) | ||
2337 | |||
2338 | {{/code}} | ||
2339 | |||
2340 | |||
2341 | (% class="box infomessage" %) | ||
2342 | ((( | ||
2343 | **{{id name="_Toc27"/}}getFilesDownloadLinks** - получение списка ссылок на скачивание файлов, которые вложены в задачи проекта | ||
2344 | ))) | ||
2345 | |||
2346 | * **bim.getFilesDownloadLinks() - **Данный метод предназначен для получения списка ссылок на скачивания файлов из задач по проекту. | ||
2347 | Ссылка действительна в течении одного дня. Изменить данное время можно командой editTokenExpiredDate (см. ниже). Данный метод рекомендуется использовать при формировании отчетов. | ||
2348 | **Пример использования:** | ||
2349 | |||
2350 | {{code language="java"}} | ||
2351 | def tasks = bim.getProjectTasks() | ||
2352 | def taskAttachments = [] | ||
2353 | for(def task : tasks) { | ||
2354 | taskAttachments.push(bim.getTaskAttachments(task.uuid)) | ||
2355 | } | ||
2356 | |||
2357 | def uuids = [] | ||
2358 | for (def attachments : taskAttachments) { | ||
2359 | for (def attachment : attachments) { | ||
2360 | if (attachment != null) | ||
2361 | uuids.push(attachment.uuid) | ||
2362 | } | ||
2363 | } | ||
2364 | def downloadLinks = bim.getFilesDownloadLinks(uuids) | ||
2365 | console.info(downloadLinks) -> INFO [ | ||
2366 | 6201ced9-b873-4a7d-8266-537f1566c543.docx, | ||
2367 | 687ac450-75e2-42f6-9fbe-7c608912c079.png | ||
2368 | ] | ||
2369 | {{/code}} | ||
2370 | |||
2371 | (% class="box infomessage" %) | ||
2372 | ((( | ||
2373 | **{{id name="_Toc28"/}}editTokenExpiredDate** - позволяет изменить количество дней, через сколько токен для скачивания файлов станет недействительным | ||
2374 | ))) | ||
2375 | |||
2376 | * **bim.editTokenExpiredDate()** | ||
2377 | **Пример использования:** | ||
2378 | |||
2379 | {{code language="java"}} | ||
2380 | UUID uuid = UUID.fromString('94e8e236-510b-4325-8b3a-15e317924bb2') | ||
2381 | bim.editTokenExpiredDate (uuid, 2) | ||
2382 | |||
2383 | {{/code}} | ||
2384 | |||
2385 | (% class="box infomessage" %) | ||
2386 | ((( | ||
2387 | **{{id name="_Toc29"/}}createConditionFromId** - функция создания условия поиска элементов по uuid | ||
2388 | ))) | ||
2389 | |||
2390 | |||
2391 | |||
2392 | * **bim.createCondition([[параметр поиска>>path:#_Toc24]], [[операторы сравнения>>path:#_Toc23]], (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); font-weight: 700; font-style: normal; text-decoration: none" %)идентификатор для поиска (uuid)(%%))** | ||
2393 | * **bim.createCondition([[параметр поиска>>path:#_Toc24]], [[операторы сравнения>>path:#_Toc23]], (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); font-weight: 700; font-style: normal; text-decoration: none" %)идентификатор для поиска (uuid)(%%), значение для поиска)** | ||
2394 | |||
2395 | |||
2396 | |||
2397 | **Примеры использования:** | ||
2398 | |||
2399 | {{code language="java"}} | ||
2400 | def conditionWall = bim.createCondition("class", "eq", "IfcWall") | ||
2401 | def conditionDoor = bim.createCondition("class", "eq", "IfcDoor") | ||
2402 | bim.showElements(conditionWall | conditionDoor ) | ||
2403 | |||
2404 | {{/code}} | ||
2405 | |||
2406 | |||
2407 | {{code language="java"}} | ||
2408 | def elementCondition = bim.createCondition("attribute","width", "gt", "1000") | ||
2409 | bim.showElements(elementCondition) | ||
2410 | {{/code}} | ||
2411 | |||
2412 | |||
2413 | СПРАВОЧНИКИ | ||
2414 | |||
2415 | |||
2416 | **{{id name="_Toc23"/}}Операторы сравнения** | ||
2417 | |||
2418 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
2419 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**eq**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Равно | ||
2420 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**noteq**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Не равно | ||
2421 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**cont**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Содержит | ||
2422 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**notcont**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Не содержит | ||
2423 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**gt**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Больше | ||
2424 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**gteq**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Больше или равно | ||
2425 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**lt**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Меньше | ||
2426 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**lteq**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Меньше или равно | ||
2427 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**ex**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Имеет значение ex | ||
2428 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**notex**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)Не имеет значение notex | ||
2429 | |||
2430 | **{{id name="_Toc24"/}}Параметры поиска** | ||
2431 | |||
2432 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
2433 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**model**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)поиск по названию модели в структуре проекта | ||
2434 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**floor**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)поиск по названию этажа | ||
2435 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**class**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)поиск по названию ifc класса (ifc тип) | ||
2436 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**zone**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)поиск по названию зоны, объединяющей элементы | ||
2437 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**layer**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)поиск по названию слоя объединяющего элементы | ||
2438 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**attribute**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)поиск по значению атрибута | ||
2439 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**geometry**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)параметры поиска по значению рассчитанной геометрии, на текущий момент доступно только площадь(ключ атрибута =”area”) и объем(ключ атрибута =”volume”) | ||
2440 | |||
2441 | **{{id name="_Toc25"/}}Статусы коллизий** | ||
2442 | |||
2443 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
2444 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**NEW**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)запрос коллизий в статусе новые | ||
2445 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**WORK**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)коллизии в работе | ||
2446 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**SOLVED**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)решенные коллизии | ||
2447 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:363px" %)**ALLOWED**|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:485px" %)допустимые коллизии |