MEPTopologyHelper

.RevitHelpers. MEPTopologyHelper

new Glodon.Bimface.Plugins.RevitHelpers.MEPTopologyHelper(config)

Parameters:
Name Type Description
config Glodon.Bimface.Plugins.RevitHelpers.MEPTopologyHelperConfig

构造MEP应用的配置项

Methods

getConnectedComponentsById(id, callback)

获取构件所在系统相邻构件

Parameters:
Name Type Description
id String

MEP系统内任意构件ID

callback function

获取系统信息回调函数

getDownstreamComponentsById(id, callback)

获取构件所在系统下游构件

Parameters:
Name Type Description
id String

MEP系统内任意构件ID

callback function

获取系统信息回调函数

Returns:
Type Description
Array

构件信息,格式如[{type: 风管, id: '123', '234'}, {type: 风管管件, id:'345','456'}]