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  

Defined in

Last Updated: 08 January, 2020