getElementProperties Method

Overloads
getElementProperties<TParsedContent>(requestOptions)  
getElementProperties<TParsedContent>(requestOptions)  

getElementProperties<TParsedContent>(requestOptions)

Retrieves property data in a simplified format for a single element specified by ID.

getElementProperties<TParsedContent>(requestOptions: SingleElementPropertiesRequestOptions<IModelDb, TParsedContent> & { priority?: number } & { cancelEvent?: BeEvent<() => void> } & BackendDiagnosticsAttribute): Promise<undefined | TParsedContent>

Parameter Type Description
requestOptions SingleElementPropertiesRequestOptions<IModelDb, TParsedContent> & { priority?: number } & { cancelEvent?: BeEvent<() => void> } & BackendDiagnosticsAttribute  

Returns - Promise<undefined | TParsedContent>



getElementProperties<TParsedContent>(requestOptions)

Retrieves property data in simplified format for multiple elements specified by class or all element.

getElementProperties<TParsedContent>(requestOptions: MultiElementPropertiesRequestOptions<IModelDb, TParsedContent> & { priority?: number } & { cancelEvent?: BeEvent<() => void> } & BackendDiagnosticsAttribute): Promise<MultiElementPropertiesResponse<TParsedContent>>

@returns An object that contains element count and AsyncGenerator to iterate over properties of those elements in batches of undefined size.

Parameter Type Description
requestOptions MultiElementPropertiesRequestOptions<IModelDb, TParsedContent> & { priority?: number } & { cancelEvent?: BeEvent<() => void> } & BackendDiagnosticsAttribute  

Returns - Promise<MultiElementPropertiesResponse<TParsedContent>>

An object that contains element count and AsyncGenerator to iterate over properties of those elements in batches of undefined size.


Defined in

Last Updated: 14 November, 2024