Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 68.7
edited by Bimit Administrator
on 17.07.2023, 11:48
on 17.07.2023, 11:48
Change comment:
There is no comment for this version
To version 68.6
edited by Bimit Administrator
on 17.07.2023, 11:46
on 17.07.2023, 11:46
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2391,16 +2391,29 @@ 2391 2391 **Примеры использования:** 2392 2392 2393 2393 {{code language="java"}} 2394 -def conditionWall = bim.createCondition("class", "eq", "IfcWall")2395 -def co nditionDoor= bim.createCondition("class","eq", "IfcDoor")2396 - bim.showElements(conditionWall|conditionDoor)2394 +def listCollisions = bim.getModelCollisions(UUID.fromString("ac178efe-7e8d-11ec-90d6-0242ac120003") 2395 +for (def collsion: listCollisions ) { 2396 +def globalAId = collsion.getGlobalAId() 2397 2397 2398 +// console.info(globalAId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” 2399 +def globalBId = collsion.getGlobalBId() 2400 + 2401 +// console.info(globalBId) -> “INFO: js89njhsihd9ffsd3kmll9hln0” 2402 +} 2403 + 2398 2398 {{/code}} 2399 2399 2400 2400 2401 2401 {{code language="java"}} 2402 -def elementCondition = bim.createCondition("attribute","width", "gt", "1000") 2403 -bim.showElements(elementCondition) 2408 +def listCollisions = bim.getModelCollisions(UUID.fromString("ac178efe-7e8d-11ec-90d6-0242ac120003", "NEW") 2409 +for (def collsion: listCollisions ) { 2410 +def globalAId = collsion.getGlobalAId() 2411 + 2412 +// console.info(globalAId) -> “INFO: 0Dtdg2chjBhhgnQ7zCqZkk” 2413 +def globalBId = collsion.getGlobalBId() 2414 + 2415 +// console.info(globalBId) -> “INFO: js89njhsihd9ffsd3kmll9hln0” 2416 +} 2404 2404 {{/code}} 2405 2405 2406 2406