getElementProps Method

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

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

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

see IModelDb.Elements.tryGetElementProps

Parameter Type Description
elementId Id64String | GuidString | Code | ElementLoadProps  

Returns - T extends ElementProps

Defined in

Last Updated: 13 June, 2024