Home > @modelo.io/api > BIM > getTreeInfo

BIM.getTreeInfo() function

Get the BIM structure of a model. The structure is represented in BIMTree which is organized in a tree structure. From the top to bottom, there are BIMModel, BIMLevel, BIMCategory, BIMFamily, BIMType, BIMType. For example, a model can contain a few levels and a level can contain a few categories. So far so forth.

Signature:

function getTreeInfo(modelId: string): Promise<_BIMTree>;

Parameters

ParameterDescription
modelIdThe model id

Returns:

Promise<_BIMTree>

a promise contains BIMTree object