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

Last modified by Bimit Administrator on 02.10.2024, 09:47

From version 22.1
edited by Bimit Administrator
on 09.02.2022, 12:52
Change comment: There is no comment for this version
To version 18.1
edited by Bimit Administrator
on 09.02.2022, 12:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -22,159 +22,14 @@
22 22  
23 23  
24 24  
25 -(% class="box infomessage" %)
25 +(% class="box" %)
26 26  (((
27 -**getProject**  взятие проекта на котором выполняется плагин
27 +
28 28  )))
29 29  
30 -* **bim.getProject() **- метод представляет следующую структуру
31 31  
32 -(((
33 -(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:1089px" %)
34 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
35 -(% style="line-height:1.2" %)
36 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле
37 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
38 -(% style="line-height:1.2" %)
39 -(% style="color:#000000; font-family:Arial; font-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 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
41 -(% style="line-height:1.2" %)
42 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля
43 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
44 -(% style="line-height:1.2" %)
45 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля
46 -)))
47 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
48 -(% style="line-height:1.2" %)
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" %)uuid
50 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
51 -(% style="line-height:1.2" %)
52 -(% style="color:#000000; font-family:Arial; font-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
53 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
54 -(% style="line-height:1.2" %)
55 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта
56 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
57 -(% style="line-height:1.2" %)
58 -(% style="color:#000000; font-family:Arial; font-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()
59 -)))
60 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
61 -(% style="line-height:1.2" %)
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" %)alias
63 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
64 -(% style="line-height:1.2" %)
65 -(% style="color:#000000; font-family:Arial; font-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
66 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
67 -(% style="line-height:1.2" %)
68 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)уникальное название английское
69 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
70 -(% style="line-height:1.2" %)
71 -(% style="color:#000000; font-family:Arial; font-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()
72 -)))
73 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
74 -(% style="line-height:1.2" %)
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" %)title
76 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
77 -(% style="line-height:1.2" %)
78 -(% style="color:#000000; font-family:Arial; font-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
79 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
80 -(% style="line-height:1.2" %)
81 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок
82 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
83 -(% style="line-height:1.2" %)
84 -(% style="color:#000000; font-family:Arial; font-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()
85 -)))
86 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
87 -(% style="line-height:1.2" %)
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" %)description
89 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
90 -(% style="line-height:1.2" %)
91 -(% style="color:#000000; font-family:Arial; font-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
92 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
93 -(% style="line-height:1.2" %)
94 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание
95 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
96 -(% style="line-height:1.2" %)
97 -(% style="color:#000000; font-family:Arial; font-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()
98 -)))
99 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
100 -(% style="line-height:1.2" %)
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" %)color
102 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
103 -(% style="line-height:1.2" %)
104 -(% style="color:#000000; font-family:Arial; font-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
105 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
106 -(% style="line-height:1.2" %)
107 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)цвет метки проекта
108 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
109 -(% style="line-height:1.2" %)
110 -(% style="color:#000000; font-family:Arial; font-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()
111 -)))
112 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
113 -(% style="line-height:1.2" %)
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" %)preview
115 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
116 -(% style="line-height:1.2" %)
117 -(% style="color:#000000; font-family:Arial; font-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
118 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
119 -(% style="line-height:1.2" %)
120 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на картинку превью проекта
121 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
122 -(% style="line-height:1.2" %)
123 -(% style="color:#000000; font-family:Arial; font-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()
124 -)))
125 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
126 -(% style="line-height:1.2" %)
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" %)createDate
128 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
129 -(% style="line-height:1.2" %)
130 -(% style="color:#000000; font-family:Arial; font-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
131 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
132 -(% style="line-height:1.2" %)
133 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания
134 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
135 -(% style="line-height:1.2" %)
136 -(% style="color:#000000; font-family:Arial; font-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()
137 -)))
138 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
139 -(% style="line-height:1.2" %)
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" %)editDate
141 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
142 -(% style="line-height:1.2" %)
143 -(% style="color:#000000; font-family:Arial; font-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
144 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
145 -(% style="line-height:1.2" %)
146 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата последнего редактирования
147 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
148 -(% style="line-height:1.2" %)
149 -(% style="color:#000000; font-family:Arial; font-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()
150 -)))
151 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
152 -(% style="line-height:1.2" %)
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" %)profileUuid
154 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
155 -(% style="line-height:1.2" %)
156 -(% style="color:#000000; font-family:Arial; font-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
157 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
158 -(% style="line-height:1.2" %)
159 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя автора проекта
160 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
161 -(% style="line-height:1.2" %)
162 -(% style="color:#000000; font-family:Arial; font-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()
163 -)))
164 -)))
165 165  
166 -**Пример использования:**
167 -
168 -{{code language="java"}}
169 -def project = bim.getProject()
170 -def editProjectDate = project.getEditDate()
171 - console.info(editProjectDate.toString())
172 -// -> “INFO: 2022-01-01 01:01:12.567 +0300”
173 -
174 -{{/code}}
175 -
176 -
177 -(% class="box infomessage" %)
32 +(% class="box" %)
178 178  (((
179 179  **getProjectTasks** - получение списка всех задач проекта
180 180  )))