Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 51.2
edited by Bimit Administrator
on 10.02.2022, 14:25
on 10.02.2022, 14:25
Change comment:
There is no comment for this version
To version 45.1
edited by Bimit Administrator
on 10.02.2022, 13:51
on 10.02.2022, 13:51
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,8 +5,6 @@ 5 5 * [[getProjectModels>>||anchor="HgetProjectModels"]] - взятие всех активных моделей проекта на котором выполняется плагин 6 6 * [[getModelRevisions>>||anchor="HgetModelRevisions"]] - взятие всех ревизий модели 7 7 * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]] - получение списка всех задач проекта 8 -* [[getTaskComments>>||anchor="HgetTaskComments"]] - получение списка всех комментариев у задачи по идентификатору задача 9 -* [[getTaskAttachments>>||anchor="HgetTaskAttachments"]] - получение списка всех вложений к задаче по идентификатору задача 10 10 * getElement 11 11 * getElements 12 12 * getGeometryElement ... ... @@ -205,7 +205,7 @@ 205 205 **Пример использования:** 206 206 207 207 {{code language="java"}} 208 -def listModels = bim.getProjectModels() 206 +def listModels = bim.getProjectModels() 209 209 for (Model model: listModels ) { 210 210 def modelUuid = model.getUuid() 211 211 ... ... @@ -223,17 +223,8 @@ 223 223 224 224 **Пример использования:** 225 225 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() 230 230 231 -// console.info(modelRevisionUuid .toString()) -> “INFO: 697ba2b6-7ddd-11ec-90d6-0242ac120003” 232 -} 233 233 234 -{{/code}} 235 - 236 - 237 237 === === 238 238 239 239 (% class="box infomessage" %) ... ... @@ -463,204 +463,5 @@ 463 463 {{/code}} 464 464 465 465 466 -(% class="box infomessage" %) 467 -((( 468 -getTaskComments - получение списка всех комментариев у задачи по идентификатору задача 469 -))) 470 470 471 -* **getTaskComments(UUID taskUuid)** 472 - 473 -(% style="margin-left:2px" %) 474 -((( 475 -(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:225px; width:850px" %) 476 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( 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" %)Поле 479 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( 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" %)Тип данных поля 482 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( 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" %)Описание поля 485 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( 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 -))) 489 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( 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 492 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( 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 495 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( 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" %)дата создания комментария 498 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( 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 -))) 502 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( 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 505 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( 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 508 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( 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" %)комментарий 511 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( 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 -))) 515 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:125px" %)((( 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 518 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:146px" %)((( 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 521 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:326px" %)((( 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" %)автор комментария 524 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:228px" %)((( 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 - 530 -**Пример использования** 531 - 532 -{{code language="java"}} 533 -def listComments = bim.getTaskComments(c73df7aa-7ddd-11ec-90d6-0242ac120003) 534 -for (Comment comment: listComments ) { 535 - def authorUuid= comment.setAuthorUuid() 536 - 537 -{{/code}} 538 - 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 - 456 +