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

Last modified by Bimit Administrator on 02.10.2024, 09:47

From version 51.6
edited by Bimit Administrator
on 10.02.2022, 14:45
Change comment: There is no comment for this version
To version 44.1
edited by Bimit Administrator
on 10.02.2022, 12:38
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,13 +3,10 @@
3 3  * [[getProject>>||anchor="HgetProject"]] - взятие проекта на котором выполняется плагин
4 4  * [[getProfile>>||anchor="HgetProfile"]] - получение данных о пользователе по его идентификатору Uuid
5 5  * [[getProjectModels>>||anchor="HgetProjectModels"]] - взятие всех активных моделей проекта на котором выполняется плагин
6 -* [[getModelRevisions>>||anchor="HgetModelRevisions"]] - взятие всех ревизий модели
6 +* getModelRevisions
7 7  * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]] - получение списка всех задач проекта
8 -* [[getTaskComments>>||anchor="HgetTaskComments"]] - получение списка всех комментариев у задачи по идентификатору задача
9 -* [[getTaskAttachments>>||anchor="HgetTaskAttachments"]] - получение списка всех вложений к задаче по идентификатору задача
10 -* [[getElements>>||anchor="HgetElements"]] - функция получения списка элементов с полной информацией, на вход ей можно подать: условие поиска, сложное условие поиска
11 -* [[getElements>>||anchor="HgetElements"]] - функция получения списка элементов с полной информацией
12 -* [[getElement>>||anchor="HgetElement"]] - функция получения полной информации о элементе
8 +* getElement
9 +* getElements
13 13  * getGeometryElement
14 14  * getGeometryElements
15 15  * getGeometryProject
... ... @@ -206,7 +206,7 @@
206 206  **Пример использования:**
207 207  
208 208  {{code language="java"}}
209 -def listModels = bim.getProjectModels()
206 +def listModels = bim.getProjectModels()
210 210  for (Model model: listModels ) {
211 211  def modelUuid = model.getUuid()
212 212  
... ... @@ -215,26 +215,6 @@
215 215  {{/code}}
216 216  
217 217  
218 -(% class="box infomessage" %)
219 -(((
220 -**getModelRevisions** - взятие всех ревизий модели
221 -)))
222 -
223 -* **bim.getModelRevisions(Идентификатор модели)**
224 -
225 -**Пример использования:**
226 -
227 -{{code language="java"}}
228 -def listModelRevisions = bim.getModelRevisions(UUID.fromString(“4e733308-7ddd-11ec-90d6-0242ac120003”)
229 -for (ModelRevision modelRevision: listModelRevisions ) {
230 - def modelRevisionUuid= modelRevision.getUuid()
231 -
232 -// console.info(modelRevisionUuid .toString()) -> “INFO: 697ba2b6-7ddd-11ec-90d6-0242ac120003”
233 -}
234 -
235 -{{/code}}
236 -
237 -
238 238  === ===
239 239  
240 240  (% class="box infomessage" %)
... ... @@ -464,426 +464,5 @@
464 464  {{/code}}
465 465  
466 466  
467 -(% class="box infomessage" %)
468 -(((
469 -getTaskComments - получение списка всех комментариев у задачи по идентификатору задача
470 -)))
471 471  
472 -* **getTaskComments(UUID taskUuid)**
473 -
474 -(% style="margin-left:2px" %)
475 -(((
476 -(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:225px; width:850px" %)
477 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)(((
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:146px" %)(((
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:326px" %)(((
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 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)(((
487 -(% style="line-height:1.2" %)
488 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля
489 -)))
490 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)(((
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" %)createDate
493 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)(((
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" %)date-time
496 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)(((
497 -(% style="line-height:1.2" %)
498 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания комментария
499 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)(((
500 -(% style="line-height:1.2" %)
501 -(% style="color:#000000; font-family:Arial; font-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()
502 -)))
503 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)(((
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" %)text
506 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)(((
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" %)string
509 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)(((
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" %)комментарий
512 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)(((
513 -(% style="line-height:1.2" %)
514 -(% style="color:#000000; font-family:Arial; font-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()
515 -)))
516 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)(((
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" %)authorUuid
519 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)(((
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" %)uuid
522 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)(((
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" %)автор комментария
525 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)(((
526 -(% style="line-height:1.2" %)
527 -(% style="color:#000000; font-family:Arial; font-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()
528 -)))
529 -)))
530 -
531 -**Пример использования**
532 -
533 -{{code language="java"}}
534 -def listComments = bim.getTaskComments(c73df7aa-7ddd-11ec-90d6-0242ac120003)
535 -for (Comment comment: listComments ) {
536 - def authorUuid= comment.setAuthorUuid()
537 -
538 -{{/code}}
539 -
540 -
541 -(% class="box infomessage" %)
542 -(((
543 -**getTaskAttachments** - получение списка всех вложений к задаче по идентификатору задача
544 -)))
545 -
546 -* **getTaskAttachments(UUID taskUuid)**
547 -
548 -(((
549 -(% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:850px" %)
550 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
551 -(% style="line-height:1.2" %)
552 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле
553 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
554 -(% style="line-height:1.2" %)
555 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля
556 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
557 -(% style="line-height:1.2" %)
558 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля
559 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
560 -(% style="line-height:1.2" %)
561 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля
562 -)))
563 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
564 -(% style="line-height:1.2" %)
565 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid
566 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
567 -(% style="line-height:1.2" %)
568 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid
569 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
570 -(% style="line-height:1.2" %)
571 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор вложения
572 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
573 -(% style="line-height:1.2" %)
574 -(% style="color:#000000; font-family:Arial; font-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()
575 -)))
576 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
577 -(% style="line-height:1.2" %)
578 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)file
579 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
580 -(% style="line-height:1.2" %)
581 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string
582 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
583 -(% style="line-height:1.2" %)
584 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на файл вложения
585 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
586 -(% style="line-height:1.2" %)
587 -(% style="color:#000000; font-family:Arial; font-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()
588 -)))
589 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
590 -(% style="line-height:1.2" %)
591 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)name
592 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
593 -(% style="line-height:1.2" %)
594 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string
595 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
596 -(% style="line-height:1.2" %)
597 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование вложения
598 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
599 -(% style="line-height:1.2" %)
600 -(% style="color:#000000; font-family:Arial; font-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()
601 -)))
602 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
603 -(% style="line-height:1.2" %)
604 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)camera
605 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
606 -(% style="line-height:1.2" %)
607 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string
608 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
609 -(% style="line-height:1.2" %)
610 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)опции камеры вложения (например скриншота)
611 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
612 -(% style="line-height:1.2" %)
613 -(% style="color:#000000; font-family:Arial; font-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()
614 -)))
615 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
616 -(% style="line-height:1.2" %)
617 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate
618 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
619 -(% style="line-height:1.2" %)
620 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date-time
621 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
622 -(% style="line-height:1.2" %)
623 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания вложения
624 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
625 -(% style="line-height:1.2" %)
626 -(% style="color:#000000; font-family:Arial; font-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()
627 -)))
628 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
629 -(% style="line-height:1.2" %)
630 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)contentType
631 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
632 -(% style="line-height:1.2" %)
633 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string
634 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
635 -(% style="line-height:1.2" %)
636 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)тип вложения
637 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
638 -(% style="line-height:1.2" %)
639 -(% style="color:#000000; font-family:Arial; font-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()
640 -)))
641 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:123px" width="NaN" %)(((
642 -(% style="line-height:1.2" %)
643 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)creatorUuid
644 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:147px" width="NaN" %)(((
645 -(% style="line-height:1.2" %)
646 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid
647 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:349px" width="NaN" %)(((
648 -(% style="line-height:1.2" %)
649 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор автора вложения
650 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:230px" width="NaN" %)(((
651 -(% style="line-height:1.2" %)
652 -(% style="color:#000000; font-family:Arial; font-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()
653 -)))
654 -)))
655 -
656 -**Пример использования:**
657 -
658 -{{code language="java"}}
659 -def listAttachments = bim.getTaskAttachments(c73df7aa-7ddd-11ec-90d6-0242ac120003)
660 -for (Attachment attachment: listAttachments ) {
661 - def createDate= attachment.setCreateDate()
662 -
663 -// console.info(createDate.toString()) -> “INFO: 2022-01-21 10:01:12.567 +0300”
664 -}
665 -
666 -{{/code}}
667 -
668 -
669 -(% class="box infomessage" %)
670 -(((
671 -**getElements** - функция получения списка элементов с полной информацией, на вход ей можно подать: условие поиска, сложное условие поиска
672 -)))
673 -
674 -* **bim.getElements(Условие поиска)**
675 -
676 -(% style="margin-left:5px" %)
677 -(((
678 -(% cellspacing="0" style="border-collapse:collapse; border:none; width:850px" %)
679 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
680 -(% style="line-height:1.2" %)
681 -(% 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" %)Поле
682 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
683 -(% style="line-height:1.2" %)
684 -(% 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" %)Тип данных поля
685 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
686 -(% style="line-height:1.2" %)
687 -(% 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" %)Описание поля
688 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
689 -(% style="line-height:1.2" %)
690 -(% 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" %)Метод взятия данных поля
691 -)))
692 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
693 -(% style="line-height:1.2" %)
694 -(% 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
695 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
696 -(% style="line-height:1.2" %)
697 -(% 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
698 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
699 -(% style="line-height:1.2" %)
700 -(% 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" %)идентификатор элемента
701 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
702 -(% style="line-height:1.2" %)
703 -(% 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()
704 -)))
705 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
706 -(% style="line-height:1.2" %)
707 -(% 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
708 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
709 -(% style="line-height:1.2" %)
710 -(% 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
711 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
712 -(% style="line-height:1.2" %)
713 -(% 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" %)глобальный идентификатор элемента
714 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
715 -(% style="line-height:1.2" %)
716 -(% 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()
717 -)))
718 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
719 -(% style="line-height:1.2" %)
720 -(% 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
721 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
722 -(% style="line-height:1.2" %)
723 -(% 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
724 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
725 -(% style="line-height:1.2" %)
726 -(% 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" %)наименование элемента
727 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
728 -(% style="line-height:1.2" %)
729 -(% 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()
730 -)))
731 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
732 -(% style="line-height:1.2" %)
733 -(% 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
734 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
735 -(% style="line-height:1.2" %)
736 -(% 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
737 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
738 -(% style="line-height:1.2" %)
739 -(% 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" %)полное наименование элемента
740 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
741 -(% style="line-height:1.2" %)
742 -(% 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()
743 -)))
744 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
745 -(% style="line-height:1.2" %)
746 -(% 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
747 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
748 -(% style="line-height:1.2" %)
749 -(% 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
750 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
751 -(% style="line-height:1.2" %)
752 -(% 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" %)идентификатор класса элемента
753 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
754 -(% style="line-height:1.2" %)
755 -(% 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()
756 -)))
757 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
758 -(% style="line-height:1.2" %)
759 -(% 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
760 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
761 -(% style="line-height:1.2" %)
762 -(% 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
763 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
764 -(% style="line-height:1.2" %)
765 -(% 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" %)значение элемента для атрибутных элементов в строковом виде
766 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
767 -(% style="line-height:1.2" %)
768 -(% 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()
769 -)))
770 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
771 -(% style="line-height:1.2" %)
772 -(% 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
773 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
774 -(% style="line-height:1.2" %)
775 -(% 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
776 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
777 -(% style="line-height:1.2" %)
778 -(% style="color:#000000; font-family:Arial; font-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
779 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
780 -(% style="line-height:1.2" %)
781 -(% 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()
782 -)))
783 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
784 -(% style="line-height:1.2" %)
785 -(% 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
786 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
787 -(% style="line-height:1.2" %)
788 -(% 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
789 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
790 -(% style="line-height:1.2" %)
791 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта
792 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
793 -(% style="line-height:1.2" %)
794 -(% 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()
795 -)))
796 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
797 -(% style="line-height:1.2" %)
798 -(% 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
799 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
800 -(% style="line-height:1.2" %)
801 -(% 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" %)массив
802 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
803 -(% style="line-height:1.2" %)
804 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)массив и элементов, дети, атрибуты, группы атрибутов
805 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
806 -(% style="line-height:1.2" %)
807 -(% 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()
808 -)))
809 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
810 -(% style="line-height:1.2" %)
811 -(% 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
812 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
813 -(% style="line-height:1.2" %)
814 -(% 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
815 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
816 -(% style="line-height:1.2" %)
817 -(% style="color:#000000; font-family:Arial; font-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
818 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
819 -(% style="line-height:1.2" %)
820 -(% 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()
821 -)))
822 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:117px" %)(((
823 -(% style="line-height:1.2" %)
824 -(% 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
825 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:143px" %)(((
826 -(% style="line-height:1.2" %)
827 -(% 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
828 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:336px" %)(((
829 -(% style="line-height:1.2" %)
830 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)наименование класса элемента
831 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:233px" %)(((
832 -(% style="line-height:1.2" %)
833 -(% 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()
834 -)))
835 -)))
836 -
837 -**Пример использования:**
838 -
839 -{{code language="java"}}
840 -def conditionWall = bim.createCondition("class", "eq", "IfcWall")
841 -def listWalls = bim.getElements (conditionWall )
842 -for (Element element: listWalls ) {
843 -def globalId = element.getGlobalId()
844 -
845 -// console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk”
846 -}
847 -
848 -{{/code}}
849 -
850 -
851 -(% class="box infomessage" %)
852 -(((
853 -**getElements** - функция получения списка элементов с полной информацией
854 -)))
855 -
856 -* **bim.getElements(Список идентификаторов элементов)**
857 -
858 -**Пример использования:**
859 -
860 -{{code language="java"}}
861 -def elements = new HashSet<UUID>()
862 -elements.add(UUID.randomUuid())
863 -def listElements = bim.getElements(elements)
864 -for (Element element: listElements ) {
865 -def globalId = element.getGlobalId()
866 -
867 -// console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk”
868 -}
869 -
870 -{{/code}}
871 -
872 -
873 -(% class="box infomessage" %)
874 -(((
875 -**getElement** - функция получения полной информации о элементе
876 -)))
877 -
878 -* **bim.getElement(Идентификатор элемента)**
879 -
880 -**Пример использования:**
881 -
882 -{{code language="java"}}
883 -def element = bim.getElement(UUID.fromString(“e5a114d0-7de1-11ec-90d6-0242ac120003”)
884 -def globalId = element.getGlobalId()
885 -
886 -// console.info(globalId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk”
887 -{{/code}}
888 -
889 889