getModelProps Method

Get the ModelProps with the specified identifier.

getModelProps<T extends ModelProps>(id: string): T

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

see IModelDb.Models.tryGetModelProps

Parameter Type Description
id string  

Returns - T

Defined in

Last Updated: 29 November, 2022