forEachTrackedElement MethodStatic
Iterate all matching federation guids and ExternalSourceAspects in the provenance iModel (target unless reverse sync) and call a function for each one.
forEachTrackedElement(args: { fn: (sourceElementId: string, targetElementId: string) => void, isReverseSynchronization: boolean, provenanceDb: IModelDb, provenanceSourceDb: IModelDb, skipPropagateChangesToRootElements: boolean, targetScopeElementId: string }): void
@note provenance is done by federation guids where possible
@note this may execute on each element more than once! Only use in cases where that is handled
Parameter | Type | Description |
---|---|---|
args | { fn: (sourceElementId: string, targetElementId: string) => void, isReverseSynchronization: boolean, provenanceDb: IModelDb, provenanceSourceDb: IModelDb, skipPropagateChangesToRootElements: boolean, targetScopeElementId: string } |
Returns - void
Defined in
Last Updated: 04 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.