Wiki source code of Интерфейс bim
Version 51.4 by Bimit Administrator on 10.02.2022, 14:41
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
2.1 | 1 | Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы: |
| 2 | |||
![]() |
41.1 | 3 | * [[getProject>>||anchor="HgetProject"]] - взятие проекта на котором выполняется плагин |
![]() |
44.1 | 4 | * [[getProfile>>||anchor="HgetProfile"]] - получение данных о пользователе по его идентификатору Uuid |
| 5 | * [[getProjectModels>>||anchor="HgetProjectModels"]] - взятие всех активных моделей проекта на котором выполняется плагин | ||
![]() |
45.1 | 6 | * [[getModelRevisions>>||anchor="HgetModelRevisions"]] - взятие всех ревизий модели |
![]() |
40.1 | 7 | * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]] - получение списка всех задач проекта |
![]() |
48.1 | 8 | * [[getTaskComments>>||anchor="HgetTaskComments"]] - получение списка всех комментариев у задачи по идентификатору задача |
![]() |
51.2 | 9 | * [[getTaskAttachments>>||anchor="HgetTaskAttachments"]] - получение списка всех вложений к задаче по идентификатору задача |
![]() |
51.3 | 10 | * [[getElement>>||anchor="HgetElement"]] - функция получения списка элементов с полной информацией, на вход ей можно подать: условие поиска, сложное условие поиска |
![]() |
51.4 | 11 | * [[getElements>>||anchor="HgetElements"]] - функция получения списка элементов с полной информацией |
![]() |
2.1 | 12 | * getGeometryElement |
| 13 | * getGeometryElements | ||
| 14 | * getGeometryProject | ||
| 15 | * getGeometryModel | ||
| 16 | * getGeometryElementA | ||
| 17 | * getGeometryElementB | ||
| 18 | * showElements | ||
| 19 | * createGroupElements | ||
| 20 | * showGroupElements | ||
| 21 | * createCondition | ||
| 22 | * getProjectCollisions | ||
| 23 | * getModelCollisions | ||
| 24 | |||
![]() |
41.1 | 25 | ====== ====== |
![]() |
37.1 | 26 | |
![]() |
41.1 | 27 | ====== ====== |
| 28 | |||
![]() |
21.1 | 29 | (% class="box infomessage" %) |
![]() |
4.1 | 30 | ((( |
![]() |
41.1 | 31 | **getProject** - взятие проекта на котором выполняется плагин |
![]() |
35.1 | 32 | ))) |
![]() |
32.1 | 33 | |
![]() |
19.1 | 34 | * **bim.getProject() **- метод представляет следующую структуру |
![]() |
18.1 | 35 | |
![]() |
19.1 | 36 | ((( |
![]() |
39.1 | 37 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:835px" %) |
![]() |
19.1 | 38 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( |
| 39 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 40 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле |
![]() |
39.1 | 41 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 42 | (% style="line-height:1.2" %) |
![]() |
20.1 | 43 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля |
![]() |
39.1 | 44 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 45 | (% style="line-height:1.2" %) |
![]() |
20.1 | 46 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля |
![]() |
39.1 | 47 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 48 | (% style="line-height:1.2" %) |
![]() |
20.1 | 49 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля |
![]() |
19.1 | 50 | ))) |
| 51 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 52 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 53 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
39.1 | 54 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 55 | (% style="line-height:1.2" %) |
![]() |
20.1 | 56 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
39.1 | 57 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 58 | (% style="line-height:1.2" %) |
![]() |
20.1 | 59 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта |
![]() |
39.1 | 60 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 61 | (% style="line-height:1.2" %) |
![]() |
20.1 | 62 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getUuid() |
![]() |
19.1 | 63 | ))) |
| 64 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 65 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 66 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)alias |
![]() |
39.1 | 67 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 68 | (% style="line-height:1.2" %) |
![]() |
20.1 | 69 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 70 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 71 | (% style="line-height:1.2" %) |
![]() |
20.1 | 72 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)уникальное название английское |
![]() |
39.1 | 73 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 74 | (% style="line-height:1.2" %) |
![]() |
20.1 | 75 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAlias() |
![]() |
19.1 | 76 | ))) |
| 77 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 78 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 79 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)title |
![]() |
39.1 | 80 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 81 | (% style="line-height:1.2" %) |
![]() |
20.1 | 82 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 83 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 84 | (% style="line-height:1.2" %) |
![]() |
20.1 | 85 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок |
![]() |
39.1 | 86 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 87 | (% style="line-height:1.2" %) |
![]() |
20.1 | 88 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTitle() |
![]() |
19.1 | 89 | ))) |
| 90 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 91 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 92 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)description |
![]() |
39.1 | 93 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 94 | (% style="line-height:1.2" %) |
![]() |
20.1 | 95 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 96 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 97 | (% style="line-height:1.2" %) |
![]() |
20.1 | 98 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание |
![]() |
39.1 | 99 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 100 | (% style="line-height:1.2" %) |
![]() |
20.1 | 101 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDescription() |
![]() |
19.1 | 102 | ))) |
| 103 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 104 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 105 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)color |
![]() |
39.1 | 106 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 107 | (% style="line-height:1.2" %) |
![]() |
20.1 | 108 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 109 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 110 | (% style="line-height:1.2" %) |
![]() |
20.1 | 111 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)цвет метки проекта |
![]() |
39.1 | 112 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 113 | (% style="line-height:1.2" %) |
![]() |
20.1 | 114 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getColor() |
![]() |
19.1 | 115 | ))) |
| 116 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 117 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 118 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)preview |
![]() |
39.1 | 119 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 120 | (% style="line-height:1.2" %) |
![]() |
20.1 | 121 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
39.1 | 122 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 123 | (% style="line-height:1.2" %) |
![]() |
20.1 | 124 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на картинку превью проекта |
![]() |
39.1 | 125 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 126 | (% style="line-height:1.2" %) |
![]() |
20.1 | 127 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getPreview() |
![]() |
19.1 | 128 | ))) |
| 129 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 130 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 131 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate |
![]() |
39.1 | 132 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 133 | (% style="line-height:1.2" %) |
![]() |
20.1 | 134 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date |
![]() |
39.1 | 135 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 136 | (% style="line-height:1.2" %) |
![]() |
20.1 | 137 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания |
![]() |
39.1 | 138 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 139 | (% style="line-height:1.2" %) |
![]() |
20.1 | 140 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreateDate() |
![]() |
19.1 | 141 | ))) |
| 142 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 143 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 144 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)editDate |
![]() |
39.1 | 145 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 146 | (% style="line-height:1.2" %) |
![]() |
20.1 | 147 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date |
![]() |
39.1 | 148 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 149 | (% style="line-height:1.2" %) |
![]() |
20.1 | 150 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата последнего редактирования |
![]() |
39.1 | 151 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 152 | (% style="line-height:1.2" %) |
![]() |
20.1 | 153 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getEditDate() |
![]() |
19.1 | 154 | ))) |
| 155 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
| 156 | (% style="line-height:1.2" %) | ||
![]() |
20.1 | 157 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)profileUuid |
![]() |
39.1 | 158 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:165px" %)((( |
![]() |
19.1 | 159 | (% style="line-height:1.2" %) |
![]() |
20.1 | 160 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
39.1 | 161 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:296px" %)((( |
![]() |
19.1 | 162 | (% style="line-height:1.2" %) |
![]() |
20.1 | 163 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя автора проекта |
![]() |
39.1 | 164 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:235px" %)((( |
![]() |
19.1 | 165 | (% style="line-height:1.2" %) |
![]() |
20.1 | 166 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getProfileUuid() |
![]() |
19.1 | 167 | ))) |
| 168 | ))) | ||
| 169 | |||
![]() |
20.1 | 170 | **Пример использования:** |
![]() |
19.1 | 171 | |
![]() |
20.1 | 172 | {{code language="java"}} |
| 173 | def project = bim.getProject() | ||
| 174 | def editProjectDate = project.getEditDate() | ||
| 175 | console.info(editProjectDate.toString()) | ||
| 176 | // -> “INFO: 2022-01-01 01:01:12.567 +0300” | ||
| 177 | |||
| 178 | {{/code}} | ||
| 179 | |||
![]() |
21.1 | 180 | |
![]() |
41.1 | 181 | (% class="box infomessage" %) |
| 182 | ((( | ||
| 183 | **getProfile** - получение данных о пользователе по его идентификатору Uuid | ||
| 184 | ))) | ||
![]() |
24.1 | 185 | |
![]() |
41.1 | 186 | * **bim.getProfile(Идентификатор пользователя)** |
| 187 | |||
| 188 | **Пример использования:** | ||
| 189 | |||
| 190 | {{code language="java"}} | ||
| 191 | def profile = bim.getProfile(UUID.fromString(“ef952aa8-7ddc-11ec-90d6-0242ac120003") | ||
| 192 | def profileUuid= profile.getUuid() | ||
| 193 | |||
| 194 | // console.info(profileUuid.toString()) -> “INFO: ef952aa8-7ddc-11ec-90d6-0242ac120003” | ||
| 195 | {{/code}} | ||
| 196 | |||
| 197 | |||
| 198 | (% class="box infomessage" %) | ||
| 199 | ((( | ||
| 200 | **getProjectModels** - взятие всех активных моделей проекта на котором выполняется плагин) | ||
| 201 | ))) | ||
| 202 | |||
| 203 | * **bim.getProjectModels()** | ||
| 204 | |||
| 205 | **Пример использования:** | ||
| 206 | |||
![]() |
43.1 | 207 | {{code language="java"}} |
![]() |
47.1 | 208 | def listModels = bim.getProjectModels() |
![]() |
41.1 | 209 | for (Model model: listModels ) { |
| 210 | def modelUuid = model.getUuid() | ||
| 211 | |||
| 212 | // console.info(modelUuid .toString()) -> “INFO: 4e733308-7ddd-11ec-90d6-0242ac120003” | ||
![]() |
44.1 | 213 | } |
| 214 | {{/code}} | ||
![]() |
41.1 | 215 | |
| 216 | |||
![]() |
45.1 | 217 | (% class="box infomessage" %) |
| 218 | ((( | ||
| 219 | **getModelRevisions** - взятие всех ревизий модели | ||
| 220 | ))) | ||
| 221 | |||
| 222 | * **bim.getModelRevisions(Идентификатор модели)** | ||
| 223 | |||
| 224 | **Пример использования:** | ||
| 225 | |||
![]() |
46.1 | 226 | {{code language="java"}} |
| 227 | def listModelRevisions = bim.getModelRevisions(UUID.fromString(“4e733308-7ddd-11ec-90d6-0242ac120003”) | ||
| 228 | for (ModelRevision modelRevision: listModelRevisions ) { | ||
| 229 | def modelRevisionUuid= modelRevision.getUuid() | ||
![]() |
45.1 | 230 | |
![]() |
46.1 | 231 | // console.info(modelRevisionUuid .toString()) -> “INFO: 697ba2b6-7ddd-11ec-90d6-0242ac120003” |
| 232 | } | ||
![]() |
45.1 | 233 | |
![]() |
46.1 | 234 | {{/code}} |
| 235 | |||
| 236 | |||
![]() |
32.1 | 237 | === === |
![]() |
26.1 | 238 | |
![]() |
21.1 | 239 | (% class="box infomessage" %) |
![]() |
18.1 | 240 | ((( |
![]() |
31.1 | 241 | ====== **getProjectTasks** - получение списка всех задач проекта ====== |
![]() |
4.1 | 242 | ))) |
![]() |
3.1 | 243 | |
![]() |
5.1 | 244 | * **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру: |
![]() |
3.1 | 245 | |
![]() |
13.1 | 246 | ((( |
![]() |
40.1 | 247 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:850px" %) |
| 248 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
![]() |
13.1 | 249 | (% style="line-height:1.2" %) |
![]() |
17.1 | 250 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Поле ** |
![]() |
40.1 | 251 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 252 | (% style="line-height:1.2" %) |
![]() |
17.1 | 253 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Тип данных поля** |
![]() |
40.1 | 254 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
15.2 | 255 | (% style="line-height:1.2" %) |
![]() |
17.1 | 256 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Описание поля** |
![]() |
40.1 | 257 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 258 | (% style="line-height:1.2" %) |
![]() |
17.1 | 259 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля |
![]() |
14.1 | 260 | ))) |
![]() |
40.1 | 261 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 262 | (% style="line-height:1.2" %) |
![]() |
15.1 | 263 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 264 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
14.1 | 265 | (% style="line-height:1.2" %) |
![]() |
15.1 | 266 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 267 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
14.1 | 268 | (% style="line-height:1.2" %) |
![]() |
15.1 | 269 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор задачи |
![]() |
40.1 | 270 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
14.1 | 271 | (% style="line-height:1.2" %) |
![]() |
15.1 | 272 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getUuid() |
![]() |
13.1 | 273 | ))) |
![]() |
40.1 | 274 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 275 | (% style="line-height:1.2" %) |
![]() |
15.1 | 276 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)title |
![]() |
40.1 | 277 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 278 | (% style="line-height:1.2" %) |
![]() |
15.1 | 279 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 280 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 281 | (% style="line-height:1.2" %) |
![]() |
15.1 | 282 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок задачи |
![]() |
40.1 | 283 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 284 | (% style="line-height:1.2" %) |
![]() |
15.1 | 285 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTitle() |
![]() |
13.1 | 286 | ))) |
![]() |
40.1 | 287 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 288 | (% style="line-height:1.2" %) |
![]() |
15.1 | 289 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)name |
![]() |
40.1 | 290 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 291 | (% style="line-height:1.2" %) |
![]() |
15.1 | 292 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 293 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 294 | (% style="line-height:1.2" %) |
![]() |
15.1 | 295 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование задачи |
![]() |
40.1 | 296 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 297 | (% style="line-height:1.2" %) |
![]() |
15.1 | 298 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getName() |
![]() |
13.1 | 299 | ))) |
![]() |
40.1 | 300 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 301 | (% style="line-height:1.2" %) |
![]() |
15.1 | 302 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)description |
![]() |
40.1 | 303 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 304 | (% style="line-height:1.2" %) |
![]() |
15.1 | 305 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 306 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 307 | (% style="line-height:1.2" %) |
![]() |
15.1 | 308 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание задачи |
![]() |
40.1 | 309 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 310 | (% style="line-height:1.2" %) |
![]() |
15.1 | 311 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getDescription() |
![]() |
13.1 | 312 | ))) |
![]() |
40.1 | 313 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 314 | (% style="line-height:1.2" %) |
![]() |
15.1 | 315 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)responderUuid |
![]() |
40.1 | 316 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 317 | (% style="line-height:1.2" %) |
![]() |
15.1 | 318 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 319 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 320 | (% style="line-height:1.2" %) |
![]() |
15.1 | 321 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя на которого назначена задача |
![]() |
40.1 | 322 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 323 | (% style="line-height:1.2" %) |
![]() |
15.1 | 324 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getResponderUuid() |
![]() |
13.1 | 325 | ))) |
![]() |
40.1 | 326 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 327 | (% style="line-height:1.2" %) |
![]() |
15.1 | 328 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)creatorUuid |
![]() |
40.1 | 329 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 330 | (% style="line-height:1.2" %) |
![]() |
15.1 | 331 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid |
![]() |
40.1 | 332 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 333 | (% style="line-height:1.2" %) |
![]() |
15.1 | 334 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя создавшего задачу |
![]() |
40.1 | 335 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 336 | (% style="line-height:1.2" %) |
![]() |
15.1 | 337 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreatorUuid() |
![]() |
13.1 | 338 | ))) |
![]() |
40.1 | 339 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 340 | (% style="line-height:1.2" %) |
![]() |
15.1 | 341 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)priority |
![]() |
40.1 | 342 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 343 | (% style="line-height:1.2" %) |
![]() |
15.1 | 344 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Enum: |
![]() |
10.1 | 345 | |
![]() |
13.1 | 346 | (% style="line-height:1.2" %) |
![]() |
15.1 | 347 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)LOW, NORMAL, HIGH |
![]() |
40.1 | 348 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 349 | (% style="line-height:1.2" %) |
![]() |
15.1 | 350 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)приоритет задачи |
![]() |
40.1 | 351 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 352 | (% style="line-height:1.2" %) |
![]() |
15.1 | 353 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getPriority() |
![]() |
13.1 | 354 | ))) |
![]() |
40.1 | 355 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 356 | (% style="line-height:1.2" %) |
![]() |
15.1 | 357 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)taskType |
![]() |
40.1 | 358 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 359 | (% style="line-height:1.2" %) |
![]() |
15.1 | 360 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Enum: |
![]() |
7.1 | 361 | |
![]() |
13.1 | 362 | (% style="line-height:1.2" %) |
![]() |
15.1 | 363 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)TASK, BUG, IMPROVEMENT |
![]() |
40.1 | 364 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 365 | (% style="line-height:1.2" %) |
![]() |
15.1 | 366 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)тип задачи |
![]() |
40.1 | 367 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 368 | (% style="line-height:1.2" %) |
![]() |
15.1 | 369 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getTaskType() |
![]() |
13.1 | 370 | ))) |
![]() |
40.1 | 371 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 372 | (% style="line-height:1.2" %) |
![]() |
15.1 | 373 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate |
![]() |
40.1 | 374 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 375 | (% style="line-height:1.2" %) |
![]() |
15.1 | 376 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date-time |
![]() |
40.1 | 377 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 378 | (% style="line-height:1.2" %) |
![]() |
15.1 | 379 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания задачи |
![]() |
40.1 | 380 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 381 | (% style="line-height:1.2" %) |
![]() |
15.1 | 382 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreateDate() |
![]() |
13.1 | 383 | ))) |
![]() |
40.1 | 384 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 385 | (% style="line-height:1.2" %) |
![]() |
15.1 | 386 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)completeStatus |
![]() |
40.1 | 387 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 388 | (% style="line-height:1.2" %) |
![]() |
15.1 | 389 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Enum: |
![]() |
3.1 | 390 | |
![]() |
13.1 | 391 | (% style="line-height:1.2" %) |
![]() |
15.1 | 392 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %) NEW, DISCUSS, PROGRESS, READY, CLOSED |
![]() |
40.1 | 393 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 394 | (% style="line-height:1.2" %) |
![]() |
15.1 | 395 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)статус задачи |
![]() |
40.1 | 396 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 397 | (% style="line-height:1.2" %) |
![]() |
15.1 | 398 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCompleteStatus() |
![]() |
13.1 | 399 | ))) |
![]() |
40.1 | 400 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 401 | (% style="line-height:1.2" %) |
![]() |
15.1 | 402 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)worldX |
![]() |
40.1 | 403 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 404 | (% style="line-height:1.2" %) |
![]() |
15.1 | 405 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)double |
![]() |
40.1 | 406 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 407 | (% style="line-height:1.2" %) |
![]() |
15.1 | 408 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)координаты метки привязанной к задаче |
![]() |
40.1 | 409 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 410 | (% style="line-height:1.2" %) |
![]() |
15.1 | 411 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getWorldX() |
![]() |
13.1 | 412 | ))) |
![]() |
40.1 | 413 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 414 | (% style="line-height:1.2" %) |
![]() |
15.1 | 415 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)worldY |
![]() |
40.1 | 416 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 417 | (% style="line-height:1.2" %) |
![]() |
15.1 | 418 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)double |
![]() |
40.1 | 419 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 420 | (% style="line-height:1.2" %) |
![]() |
15.1 | 421 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)координаты метки привязанной к задаче |
![]() |
40.1 | 422 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 423 | (% style="line-height:1.2" %) |
![]() |
15.1 | 424 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getWorldY() |
![]() |
13.1 | 425 | ))) |
![]() |
40.1 | 426 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 427 | (% style="line-height:1.2" %) |
![]() |
15.1 | 428 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)worldZ |
![]() |
40.1 | 429 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 430 | (% style="line-height:1.2" %) |
![]() |
15.1 | 431 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)double |
![]() |
40.1 | 432 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 433 | (% style="line-height:1.2" %) |
![]() |
15.1 | 434 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)координаты метки привязанной к задаче |
![]() |
40.1 | 435 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 436 | (% style="line-height:1.2" %) |
![]() |
15.1 | 437 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getWorldZ() |
![]() |
13.1 | 438 | ))) |
![]() |
40.1 | 439 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( |
![]() |
13.1 | 440 | (% style="line-height:1.2" %) |
![]() |
15.1 | 441 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)entityId |
![]() |
40.1 | 442 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:175px" %)((( |
![]() |
13.1 | 443 | (% style="line-height:1.2" %) |
![]() |
15.1 | 444 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string |
![]() |
40.1 | 445 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:290px" %)((( |
![]() |
13.1 | 446 | (% style="line-height:1.2" %) |
![]() |
15.1 | 447 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор элемента если есть |
![]() |
40.1 | 448 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:240px" %)((( |
![]() |
13.1 | 449 | (% style="line-height:1.2" %) |
![]() |
15.1 | 450 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getEntityId() |
![]() |
13.1 | 451 | ))) |
| 452 | ))) | ||
| 453 | |||
| 454 | **Пример использования** | ||
| 455 | |||
![]() |
4.1 | 456 | {{code language="java"}} |
| 457 | def listTasks = bim.getProjectTasks() | ||
| 458 | for (Task task: listTasks ) { | ||
| 459 | def taskUuid= task.getUuid() | ||
![]() |
3.1 | 460 | |
![]() |
4.1 | 461 | // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” |
| 462 | } | ||
| 463 | {{/code}} | ||
![]() |
3.1 | 464 | |
| 465 | |||
![]() |
48.1 | 466 | (% class="box infomessage" %) |
| 467 | ((( | ||
| 468 | getTaskComments - получение списка всех комментариев у задачи по идентификатору задача | ||
| 469 | ))) | ||
| 470 | |||
| 471 | * **getTaskComments(UUID taskUuid)** | ||
| 472 | |||
![]() |
50.1 | 473 | (% style="margin-left:2px" %) |
![]() |
48.1 | 474 | ((( |
![]() |
50.1 | 475 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:225px; width:850px" %) |
![]() |
51.1 | 476 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( |
![]() |
48.1 | 477 | (% style="line-height:1.2" %) |
| 478 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
![]() |
51.1 | 479 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( |
![]() |
48.1 | 480 | (% style="line-height:1.2" %) |
| 481 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
![]() |
51.1 | 482 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( |
![]() |
48.1 | 483 | (% style="line-height:1.2" %) |
| 484 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
![]() |
51.1 | 485 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( |
![]() |
48.1 | 486 | (% style="line-height:1.2" %) |
| 487 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
| 488 | ))) | ||
![]() |
51.1 | 489 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( |
![]() |
48.1 | 490 | (% style="line-height:1.2" %) |
| 491 | (% style="color:#000000; font-family:Arial; font-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 | ||
![]() |
51.1 | 492 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( |
![]() |
48.1 | 493 | (% style="line-height:1.2" %) |
| 494 | (% style="color:#000000; font-family:Arial; font-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 | ||
![]() |
51.1 | 495 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( |
![]() |
48.1 | 496 | (% style="line-height:1.2" %) |
| 497 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания комментария | ||
![]() |
51.1 | 498 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( |
![]() |
48.1 | 499 | (% style="line-height:1.2" %) |
| 500 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 501 | ))) | ||
![]() |
51.1 | 502 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( |
![]() |
48.1 | 503 | (% style="line-height:1.2" %) |
| 504 | (% style="color:#000000; font-family:Arial; font-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 | ||
![]() |
51.1 | 505 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( |
![]() |
48.1 | 506 | (% style="line-height:1.2" %) |
| 507 | (% style="color:#000000; font-family:Arial; font-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 | ||
![]() |
51.1 | 508 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( |
![]() |
48.1 | 509 | (% style="line-height:1.2" %) |
| 510 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)комментарий | ||
![]() |
51.1 | 511 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( |
![]() |
48.1 | 512 | (% style="line-height:1.2" %) |
| 513 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 514 | ))) | ||
![]() |
51.1 | 515 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( |
![]() |
48.1 | 516 | (% style="line-height:1.2" %) |
| 517 | (% style="color:#000000; font-family:Arial; font-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 | ||
![]() |
51.1 | 518 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( |
![]() |
48.1 | 519 | (% style="line-height:1.2" %) |
| 520 | (% style="color:#000000; font-family:Arial; font-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 | ||
![]() |
51.1 | 521 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( |
![]() |
48.1 | 522 | (% style="line-height:1.2" %) |
| 523 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)автор комментария | ||
![]() |
51.1 | 524 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( |
![]() |
48.1 | 525 | (% style="line-height:1.2" %) |
| 526 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 527 | ))) | ||
| 528 | ))) | ||
| 529 | |||
![]() |
50.1 | 530 | **Пример использования** |
| 531 | |||
![]() |
48.1 | 532 | {{code language="java"}} |
![]() |
51.1 | 533 | def listComments = bim.getTaskComments(c73df7aa-7ddd-11ec-90d6-0242ac120003) |
| 534 | for (Comment comment: listComments ) { | ||
| 535 | def authorUuid= comment.setAuthorUuid() | ||
![]() |
48.1 | 536 | |
![]() |
51.1 | 537 | {{/code}} |
| 538 | |||
![]() |
51.2 | 539 | |
| 540 | (% class="box infomessage" %) | ||
| 541 | ((( | ||
| 542 | **getTaskAttachments** - получение списка всех вложений к задаче по идентификатору задача | ||
| 543 | ))) | ||
| 544 | |||
| 545 | * **getTaskAttachments(UUID taskUuid)** | ||
| 546 | |||
| 547 | ((( | ||
| 548 | (% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:850px" %) | ||
| 549 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 550 | (% style="line-height:1.2" %) | ||
| 551 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
| 552 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 553 | (% style="line-height:1.2" %) | ||
| 554 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
| 555 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 556 | (% style="line-height:1.2" %) | ||
| 557 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
| 558 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 559 | (% style="line-height:1.2" %) | ||
| 560 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
| 561 | ))) | ||
| 562 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 563 | (% style="line-height:1.2" %) | ||
| 564 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 565 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 566 | (% style="line-height:1.2" %) | ||
| 567 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 568 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 569 | (% style="line-height:1.2" %) | ||
| 570 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор вложения | ||
| 571 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 572 | (% style="line-height:1.2" %) | ||
| 573 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 574 | ))) | ||
| 575 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 576 | (% style="line-height:1.2" %) | ||
| 577 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 578 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 579 | (% style="line-height:1.2" %) | ||
| 580 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 581 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 582 | (% style="line-height:1.2" %) | ||
| 583 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на файл вложения | ||
| 584 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 585 | (% style="line-height:1.2" %) | ||
| 586 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 587 | ))) | ||
| 588 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 589 | (% style="line-height:1.2" %) | ||
| 590 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 591 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 592 | (% style="line-height:1.2" %) | ||
| 593 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 594 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 595 | (% style="line-height:1.2" %) | ||
| 596 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование вложения | ||
| 597 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 598 | (% style="line-height:1.2" %) | ||
| 599 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 600 | ))) | ||
| 601 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 602 | (% style="line-height:1.2" %) | ||
| 603 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 604 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 605 | (% style="line-height:1.2" %) | ||
| 606 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 607 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 608 | (% style="line-height:1.2" %) | ||
| 609 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)опции камеры вложения (например скриншота) | ||
| 610 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 611 | (% style="line-height:1.2" %) | ||
| 612 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 613 | ))) | ||
| 614 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 615 | (% style="line-height:1.2" %) | ||
| 616 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 617 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 618 | (% style="line-height:1.2" %) | ||
| 619 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 620 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 621 | (% style="line-height:1.2" %) | ||
| 622 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания вложения | ||
| 623 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 624 | (% style="line-height:1.2" %) | ||
| 625 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 626 | ))) | ||
| 627 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 628 | (% style="line-height:1.2" %) | ||
| 629 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 630 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 631 | (% style="line-height:1.2" %) | ||
| 632 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 633 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 634 | (% style="line-height:1.2" %) | ||
| 635 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)тип вложения | ||
| 636 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 637 | (% style="line-height:1.2" %) | ||
| 638 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 639 | ))) | ||
| 640 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)((( | ||
| 641 | (% style="line-height:1.2" %) | ||
| 642 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 643 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)((( | ||
| 644 | (% style="line-height:1.2" %) | ||
| 645 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 646 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)((( | ||
| 647 | (% style="line-height:1.2" %) | ||
| 648 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор автора вложения | ||
| 649 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)((( | ||
| 650 | (% style="line-height:1.2" %) | ||
| 651 | (% style="color:#000000; font-family:Arial; font-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() | ||
| 652 | ))) | ||
| 653 | ))) | ||
| 654 | |||
| 655 | **Пример использования:** | ||
| 656 | |||
| 657 | {{code language="java"}} | ||
| 658 | def listAttachments = bim.getTaskAttachments(c73df7aa-7ddd-11ec-90d6-0242ac120003) | ||
| 659 | for (Attachment attachment: listAttachments ) { | ||
| 660 | def createDate= attachment.setCreateDate() | ||
| 661 | |||
| 662 | // console.info(createDate.toString()) -> “INFO: 2022-01-21 10:01:12.567 +0300” | ||
| 663 | } | ||
| 664 | |||
| 665 | {{/code}} | ||
| 666 | |||
![]() |
51.3 | 667 | |
| 668 | (% class="box infomessage" %) | ||
| 669 | ((( | ||
| 670 | **getElements** - функция получения списка элементов с полной информацией, на вход ей можно подать: условие поиска, сложное условие поиска | ||
| 671 | ))) | ||
| 672 | |||
| 673 | * **bim.getElements(Условие поиска)** | ||
| 674 | |||
| 675 | (% style="margin-left:5px" %) | ||
| 676 | ((( | ||
| 677 | (% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %) | ||
| 678 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 679 | (% style="line-height:1.2" %) | ||
| 680 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле | ||
| 681 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 682 | (% style="line-height:1.2" %) | ||
| 683 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля | ||
| 684 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 685 | (% style="line-height:1.2" %) | ||
| 686 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля | ||
| 687 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 688 | (% style="line-height:1.2" %) | ||
| 689 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля | ||
| 690 | ))) | ||
| 691 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 692 | (% style="line-height:1.2" %) | ||
| 693 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 694 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 695 | (% style="line-height:1.2" %) | ||
| 696 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 697 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 698 | (% style="line-height:1.2" %) | ||
| 699 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор элемента | ||
| 700 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 701 | (% style="line-height:1.2" %) | ||
| 702 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 703 | ))) | ||
| 704 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 705 | (% style="line-height:1.2" %) | ||
| 706 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 707 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 708 | (% style="line-height:1.2" %) | ||
| 709 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 710 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 711 | (% style="line-height:1.2" %) | ||
| 712 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)глобальный идентификатор элемента | ||
| 713 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 714 | (% style="line-height:1.2" %) | ||
| 715 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 716 | ))) | ||
| 717 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 718 | (% style="line-height:1.2" %) | ||
| 719 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 720 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 721 | (% style="line-height:1.2" %) | ||
| 722 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 723 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 724 | (% style="line-height:1.2" %) | ||
| 725 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование элемента | ||
| 726 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 727 | (% style="line-height:1.2" %) | ||
| 728 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 729 | ))) | ||
| 730 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 731 | (% style="line-height:1.2" %) | ||
| 732 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 733 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 734 | (% style="line-height:1.2" %) | ||
| 735 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 736 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 737 | (% style="line-height:1.2" %) | ||
| 738 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)полное наименование элемента | ||
| 739 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 740 | (% style="line-height:1.2" %) | ||
| 741 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 742 | ))) | ||
| 743 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 744 | (% style="line-height:1.2" %) | ||
| 745 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 746 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 747 | (% style="line-height:1.2" %) | ||
| 748 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 749 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 750 | (% style="line-height:1.2" %) | ||
| 751 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор класса элемента | ||
| 752 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 753 | (% style="line-height:1.2" %) | ||
| 754 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 755 | ))) | ||
| 756 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 757 | (% style="line-height:1.2" %) | ||
| 758 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 759 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 760 | (% style="line-height:1.2" %) | ||
| 761 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 762 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 763 | (% style="line-height:1.2" %) | ||
| 764 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)значение элемента для атрибутных элементов в строковом виде | ||
| 765 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 766 | (% style="line-height:1.2" %) | ||
| 767 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 768 | ))) | ||
| 769 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 770 | (% style="line-height:1.2" %) | ||
| 771 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 772 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 773 | (% style="line-height:1.2" %) | ||
| 774 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 775 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 776 | (% style="line-height:1.2" %) | ||
| 777 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 778 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 779 | (% style="line-height:1.2" %) | ||
| 780 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 781 | ))) | ||
| 782 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 783 | (% style="line-height:1.2" %) | ||
| 784 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 785 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 786 | (% style="line-height:1.2" %) | ||
| 787 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 788 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 789 | (% style="line-height:1.2" %) | ||
| 790 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта | ||
| 791 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 792 | (% style="line-height:1.2" %) | ||
| 793 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 794 | ))) | ||
| 795 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 796 | (% style="line-height:1.2" %) | ||
| 797 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 798 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 799 | (% style="line-height:1.2" %) | ||
| 800 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив | ||
| 801 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 802 | (% style="line-height:1.2" %) | ||
| 803 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив и элементов, дети, атрибуты, группы атрибутов | ||
| 804 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 805 | (% style="line-height:1.2" %) | ||
| 806 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 807 | ))) | ||
| 808 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 809 | (% style="line-height:1.2" %) | ||
| 810 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 811 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 812 | (% style="line-height:1.2" %) | ||
| 813 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 814 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 815 | (% style="line-height:1.2" %) | ||
| 816 | (% style="color:#000000; font-family:Arial; font-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 | ||
| 817 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 818 | (% style="line-height:1.2" %) | ||
| 819 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 820 | ))) | ||
| 821 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)((( | ||
| 822 | (% style="line-height:1.2" %) | ||
| 823 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 824 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)((( | ||
| 825 | (% style="line-height:1.2" %) | ||
| 826 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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 | ||
| 827 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)((( | ||
| 828 | (% style="line-height:1.2" %) | ||
| 829 | (% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование класса элемента | ||
| 830 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)((( | ||
| 831 | (% style="line-height:1.2" %) | ||
| 832 | (% style="background-color:#cccccc; color:#000000; font-family:Arial; font-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() | ||
| 833 | ))) | ||
| 834 | ))) | ||
| 835 | |||
| 836 | **Пример использования:** | ||
| 837 | |||
| 838 | {{code language="java"}} | ||
| 839 | def conditionWall = bim.createCondition("class", "eq", "IfcWall") | ||
| 840 | def listWalls = bim.getElements (conditionWall ) | ||
| 841 | for (Element element: listWalls ) { | ||
| 842 | def globalId = element.getGlobalId() | ||
| 843 | |||
| 844 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
| 845 | } | ||
| 846 | |||
| 847 | {{/code}} | ||
![]() |
51.4 | 848 | |
| 849 | |||
| 850 | (% class="box infomessage" %) | ||
| 851 | ((( | ||
| 852 | **getElements** - функция получения списка элементов с полной информацией | ||
| 853 | ))) | ||
| 854 | |||
| 855 | * **bim.getElements(Список идентификаторов элементов)** | ||
| 856 | |||
| 857 | **Пример использования:** | ||
| 858 | |||
| 859 | {{code language="java"}} | ||
| 860 | def elements = new HashSet<UUID>() | ||
| 861 | elements.add(UUID.randomUuid()) | ||
| 862 | def listElements = bim.getElements(elements) | ||
| 863 | for (Element element: listElements ) { | ||
| 864 | def globalId = element.getGlobalId() | ||
| 865 | |||
| 866 | // console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” | ||
| 867 | } | ||
| 868 | |||
| 869 | {{/code}} | ||
| 870 | |||
| 871 |
