getElementProps Method

Get properties of an Element by Id, FederationGuid, or Code

getElementProps<T extends ElementProps>(elementId: string | Code | ElementLoadProps): T

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

see IModelDb.Elements.tryGetElementProps

Parameter Type Description
elementId string | Code | ElementLoadProps  

Returns - T

Defined in

Last Updated: 11 June, 2024