updateFieldDependencies MethodStatic
updateFieldDependencies(txn, annotationElementId)
Examines all of the FieldRuns within the specified ITextAnnotation and ensures that the appropriate
ElementDrivesTextAnnotation relationships exist between the fields' source elements and this target element.
It also deletes any stale relationships left over from fields that were deleted or whose source elements changed.
updateFieldDependencies(txn: EditTxn, annotationElementId: string): void
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | |
| annotationElementId | string |
Returns - void
updateFieldDependencies(annotationElementId, iModel)
Deprecated Use ElementDrivesTextAnnotation.updateFieldDependencies(txn, ...) instead.
Examines all of the FieldRuns within the specified ITextAnnotation and ensures that the appropriate
ElementDrivesTextAnnotation relationships exist between the fields' source elements and this target element.
It also deletes any stale relationships left over from fields that were deleted or whose source elements changed.
updateFieldDependencies(annotationElementId: string, iModel: IModelDb): void
| Parameter | Type | Description |
|---|---|---|
| annotationElementId | string | |
| iModel | IModelDb |
Returns - void
Defined in
Last Updated: 18 April, 2026