12_bimutils
Version 3.1 by Bimit Administrator on 04.03.2026, 14:10
- getConnectedElementsByClassName - извлечение элементов заданного типа, находящихся в контакте с заданным типом
- getElementAdjacentElementsWithGap - добавление строки
- bimutils.getConnectedElementsByClassName (GeometryElement, Set, double)
Пример использования:
def conditionSpace = bim.createCondition("class", "eq", "IfcWall")
def elementSpaces = bim.getGeometryElements(conditionSpace)
def classNames = ["IfcSpace", "IfcDalle"] as Set
for(def space : elementSpaces){
def contactedElements = bimutils.getConnectedElementsByClassName(space, classNames, 5)
// contactedElements : Использовать по своему усмотрению и в зависимости от потребностей
def elementSpaces = bim.getGeometryElements(conditionSpace)
def classNames = ["IfcSpace", "IfcDalle"] as Set
for(def space : elementSpaces){
def contactedElements = bimutils.getConnectedElementsByClassName(space, classNames, 5)
// contactedElements : Использовать по своему усмотрению и в зависимости от потребностей
- bimutils.getElementAdjacentElementsWithGap (GeometryElement, double)
Пример использования:
def conditionSpace = bim.createCondition("class", "eq", "IfcSpace")
def elementSpaces = bim.getGeometryElements(conditionSpace)
for(def space : elementSpaces){
def contactedElements = bimutils.getElementAdjacentElementsWithGap(space, 5)
// contactedElements : Использовать по своему усмотрению и в зависимости от потребностей
def elementSpaces = bim.getGeometryElements(conditionSpace)
for(def space : elementSpaces){
def contactedElements = bimutils.getElementAdjacentElementsWithGap(space, 5)
// contactedElements : Использовать по своему усмотрению и в зависимости от потребностей