Model.merge() function

Merge several models together into one model. Both geometry and BIM data of the models will be merged. The model's BIM data will become BIMModel in the BIM structure of new model and its model ID is kept as originModelId in BIMModel.

Signature:

function merge(name: string, modelIds: string[], transforms: any): Promise<string>;

Parameters

ParameterDescription
nameThe output model name
modelIdsAn array of source model ids
transforms

Returns:

Promise<string>

a promise contains the merged model id