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

Last modified by Bimit Administrator on 02.10.2024, 09:47

From version 31.1
edited by Bimit Administrator
on 09.02.2022, 13:25
Change comment: There is no comment for this version
To version 16.1
edited by Bimit Administrator
on 09.02.2022, 12:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,10 +1,10 @@
1 1  Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы:
2 2  
3 -* [[getProject>>||anchor="HgetProject"]]
3 +* getProject
4 4  * getProfile
5 5  * getProjectModels
6 6  * getModelRevisions
7 -* [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]]- получение списка всех задач проекта
7 +* getProjectTasks - получение списка всех задач проекта
8 8  * getElement
9 9  * getElements
10 10  * getGeometryElement
... ... @@ -20,186 +20,28 @@
20 20  * getProjectCollisions
21 21  * getModelCollisions
22 22  
23 -=== ===
24 -
25 -=== ===
26 -
27 -(% class="box infomessage" %)
23 +(% class="box" %)
28 28  (((
29 -====== **getProject**  взятие проекта на котором выполняется плагин ======
25 +**getProjectTasks** - получение списка всех задач проекта
30 30  )))
31 31  
32 -* **bim.getProject() **- метод представляет следующую структуру
28 +* **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру:
33 33  
34 -(((
35 -(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:1089px" %)
36 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
37 -(% style="line-height:1.2" %)
38 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле
39 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
40 -(% style="line-height:1.2" %)
41 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля
42 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
43 -(% style="line-height:1.2" %)
44 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля
45 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
46 -(% style="line-height:1.2" %)
47 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля
48 -)))
49 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
50 -(% style="line-height:1.2" %)
51 -(% style="color:#000000; font-family:Arial; font-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
52 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
53 -(% style="line-height:1.2" %)
54 -(% style="color:#000000; font-family:Arial; font-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
55 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
56 -(% style="line-height:1.2" %)
57 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор проекта
58 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
59 -(% style="line-height:1.2" %)
60 -(% style="color:#000000; font-family:Arial; font-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()
61 -)))
62 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
63 -(% style="line-height:1.2" %)
64 -(% style="color:#000000; font-family:Arial; font-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
65 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
66 -(% style="line-height:1.2" %)
67 -(% style="color:#000000; font-family:Arial; font-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
68 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
69 -(% style="line-height:1.2" %)
70 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)уникальное название английское
71 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
72 -(% style="line-height:1.2" %)
73 -(% style="color:#000000; font-family:Arial; font-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()
74 -)))
75 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
76 -(% style="line-height:1.2" %)
77 -(% style="color:#000000; font-family:Arial; font-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
78 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
79 -(% style="line-height:1.2" %)
80 -(% style="color:#000000; font-family:Arial; font-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
81 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
82 -(% style="line-height:1.2" %)
83 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)заголовок
84 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
85 -(% style="line-height:1.2" %)
86 -(% style="color:#000000; font-family:Arial; font-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()
87 -)))
88 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
89 -(% style="line-height:1.2" %)
90 -(% style="color:#000000; font-family:Arial; font-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
91 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
92 -(% style="line-height:1.2" %)
93 -(% style="color:#000000; font-family:Arial; font-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
94 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
95 -(% style="line-height:1.2" %)
96 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание
97 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
98 -(% style="line-height:1.2" %)
99 -(% style="color:#000000; font-family:Arial; font-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()
100 -)))
101 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
102 -(% style="line-height:1.2" %)
103 -(% style="color:#000000; font-family:Arial; font-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
104 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
105 -(% style="line-height:1.2" %)
106 -(% style="color:#000000; font-family:Arial; font-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
107 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
108 -(% style="line-height:1.2" %)
109 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)цвет метки проекта
110 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
111 -(% style="line-height:1.2" %)
112 -(% style="color:#000000; font-family:Arial; font-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()
113 -)))
114 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
115 -(% style="line-height:1.2" %)
116 -(% style="color:#000000; font-family:Arial; font-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
117 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
118 -(% style="line-height:1.2" %)
119 -(% style="color:#000000; font-family:Arial; font-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
120 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
121 -(% style="line-height:1.2" %)
122 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)ссылка на картинку превью проекта
123 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
124 -(% style="line-height:1.2" %)
125 -(% style="color:#000000; font-family:Arial; font-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()
126 -)))
127 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
128 -(% style="line-height:1.2" %)
129 -(% style="color:#000000; font-family:Arial; font-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
130 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
131 -(% style="line-height:1.2" %)
132 -(% style="color:#000000; font-family:Arial; font-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
133 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
134 -(% style="line-height:1.2" %)
135 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания
136 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
137 -(% style="line-height:1.2" %)
138 -(% style="color:#000000; font-family:Arial; font-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()
139 -)))
140 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
141 -(% style="line-height:1.2" %)
142 -(% style="color:#000000; font-family:Arial; font-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
143 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
144 -(% style="line-height:1.2" %)
145 -(% style="color:#000000; font-family:Arial; font-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
146 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
147 -(% style="line-height:1.2" %)
148 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата последнего редактирования
149 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
150 -(% style="line-height:1.2" %)
151 -(% style="color:#000000; font-family:Arial; font-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()
152 -)))
153 -|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)(((
154 -(% style="line-height:1.2" %)
155 -(% style="color:#000000; font-family:Arial; font-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
156 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)(((
157 -(% style="line-height:1.2" %)
158 -(% style="color:#000000; font-family:Arial; font-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
159 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)(((
160 -(% style="line-height:1.2" %)
161 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)идентификатор пользователя автора проекта
162 -)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
163 -(% style="line-height:1.2" %)
164 -(% style="color:#000000; font-family:Arial; font-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()
165 -)))
166 -)))
167 167  
168 -**Пример использования:**
169 -
170 -{{code language="java"}}
171 -def project = bim.getProject()
172 -def editProjectDate = project.getEditDate()
173 - console.info(editProjectDate.toString())
174 -// -> “INFO: 2022-01-01 01:01:12.567 +0300”
175 -
176 -{{/code}}
177 -
178 -
179 -
180 -=== ===
181 -
182 -(% class="box infomessage" %)
183 183  (((
184 -====== **getProjectTasks** - получение списка всех задач проекта ======
185 -)))
186 -
187 -* **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру:
188 -
189 -(((
190 190  (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:1096px" %)
191 191  |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)(((
192 192  (% style="line-height:1.2" %)
193 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Поле  **
35 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**поле  **
194 194  )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)(((
195 195  (% style="line-height:1.2" %)
196 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Тип данных поля**
38 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**тип данных поля**
197 197  )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)(((
198 198  (% style="line-height:1.2" %)
199 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)**Описание поля**
41 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)описание поля
200 200  )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)(((
201 201  (% style="line-height:1.2" %)
202 -(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля
44 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)метод взятия данных поля
203 203  )))
204 204  |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)(((
205 205  (% style="line-height:1.2" %)