getModel Method

Get the Model with the specified identifier.

getModel<T extends Model>(modelId: Id64String): T extends Model

throws IModelError if the model is not found or cannot be loaded.

see IModelDb.Models.tryGetModel

Parameter Type Description
modelId Id64String The Model identifier.

Defined in

Last Updated: 05 June, 2020