Changes for page Интерфейс bim

Last modified by Bimit Administrator on 02.10.2024, 09:47

From version 45.1
edited by Bimit Administrator
on 10.02.2022, 13:51
Change comment: There is no comment for this version
To version 48.1
edited by Bimit Administrator
on 10.02.2022, 14:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,6 +5,7 @@
5 5  * [[getProjectModels>>||anchor="HgetProjectModels"]] - взятие всех активных моделей проекта на котором выполняется плагин
6 6  * [[getModelRevisions>>||anchor="HgetModelRevisions"]] - взятие всех ревизий модели
7 7  * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]] - получение списка всех задач проекта
8 +* [[getTaskComments>>||anchor="HgetTaskComments"]] - получение списка всех комментариев у задачи по идентификатору задача
8 8  * getElement
9 9  * getElements
10 10  * getGeometryElement
... ... @@ -203,7 +203,7 @@
203 203  **Пример использования:**
204 204  
205 205  {{code language="java"}}
206 -def listModels = bim.getProjectModels()
207 +def listModels = bim.getProjectModels()
207 207  for (Model model: listModels ) {
208 208  def modelUuid = model.getUuid()
209 209  
... ... @@ -221,8 +221,17 @@
221 221  
222 222  **Пример использования:**
223 223  
225 +{{code language="java"}}
226 +def listModelRevisions = bim.getModelRevisions(UUID.fromString(“4e733308-7ddd-11ec-90d6-0242ac120003”)
227 +for (ModelRevision modelRevision: listModelRevisions ) {
228 + def modelRevisionUuid= modelRevision.getUuid()
224 224  
230 +// console.info(modelRevisionUuid .toString()) -> “INFO: 697ba2b6-7ddd-11ec-90d6-0242ac120003”
231 +}
225 225  
233 +{{/code}}
234 +
235 +
226 226  === ===
227 227  
228 228  (% class="box infomessage" %)
... ... @@ -452,5 +452,74 @@
452 452  {{/code}}
453 453  
454 454  
465 +(% class="box infomessage" %)
466 +(((
467 +getTaskComments - получение списка всех комментариев у задачи по идентификатору задача
468 +)))
455 455  
456 -
470 +* **getTaskComments(UUID taskUuid)**
471 +
472 +(((
473 +(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:223px; table-layout:fixed; width:850px" %)
474 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)(((
475 +(% style="line-height:1.2" %)
476 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле
477 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)(((
478 +(% style="line-height:1.2" %)
479 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля
480 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)(((
481 +(% style="line-height:1.2" %)
482 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля
483 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)(((
484 +(% style="line-height:1.2" %)
485 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля
486 +)))
487 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)(((
488 +(% style="line-height:1.2" %)
489 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate
490 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)(((
491 +(% style="line-height:1.2" %)
492 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date-time
493 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)(((
494 +(% style="line-height:1.2" %)
495 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания комментария
496 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)(((
497 +(% style="line-height:1.2" %)
498 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreateDate()
499 +)))
500 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)(((
501 +(% style="line-height:1.2" %)
502 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)text
503 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)(((
504 +(% style="line-height:1.2" %)
505 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string
506 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)(((
507 +(% style="line-height:1.2" %)
508 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)комментарий
509 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)(((
510 +(% style="line-height:1.2" %)
511 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getText()
512 +)))
513 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)(((
514 +(% style="line-height:1.2" %)
515 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)authorUuid
516 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)(((
517 +(% style="line-height:1.2" %)
518 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid
519 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)(((
520 +(% style="line-height:1.2" %)
521 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)автор комментария
522 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)(((
523 +(% style="line-height:1.2" %)
524 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAuthorUuid()
525 +)))
526 +)))
527 +
528 +**Пример использования:**
529 +
530 +{{code language="java"}}
531 +def listComments = bim.getTaskComments(c73df7aa-7ddd-11ec-90d6-0242ac120003)
532 +for (Comment comment: listComments ) {
533 + def authorUuid= comment.setAuthorUuid()
534 +
535 +{{/code}}