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.

Returns - T extends Model

Defined in

Last Updated: 13 June, 2024