API Reference > imodeljs-backend > iModels > IModelDb.Elements > tryGetElementProps tryGetElementProps Method Get properties of an Element by Id, FederationGuid, or Code tryGetElementProps<T extends ElementProps>(elementId: Id64String | GuidString | Code | ElementLoadProps): T extends ElementProps | undefined throws IModelError if the element exists, but cannot be loaded. note Useful for cases when an element may or may not exist and throwing an Error would be overkill. see IModelDb.Elements.getElementProps Parameter Type Description elementId Id64String | GuidString | Code | ElementLoadProps Returns - T extends ElementProps | undefined The properties of the element or undefined if the element is not found. Defined in core/backend/src/IModelDb.ts Line 1661 Last Updated: 13 June, 2024