computeSelection Method


computeSelection(requestOptions)

Computes selection based on provided element IDs and selection scope.

computeSelection(requestOptions: ComputeSelectionRequestOptions<IModelDb> & BackendDiagnosticsAttribute): Promise<KeySet>

Parameter Type Description
requestOptions ComputeSelectionRequestOptions<IModelDb> & BackendDiagnosticsAttribute  

Returns - Promise<KeySet>



computeSelection(requestOptions)

Deprecated  in 3.x. Use overload with ComputeSelectionRequestOptions parameter.

Computes selection set based on provided selection scope.

computeSelection(requestOptions: SelectionScopeRequestOptions<IModelDb> & { ids: string[], scopeId: string } & BackendDiagnosticsAttribute): Promise<KeySet>

Parameter Type Description
requestOptions SelectionScopeRequestOptions<IModelDb> & { ids: string[], scopeId: string } & BackendDiagnosticsAttribute  

Returns - Promise<KeySet>


Defined in

Last Updated: 17 December, 2024