Autodesk Vault ProfessionalVault API

UpdateReferences Method

Autodesk.DataManagement.Client.Framework.Vault.Interfaces.ExtensionHandlersIFileReferencesProvider

Updates the references in a physical file.

Syntax

void UpdateReferences(
   UpdateFileReferencesModel model
)
Sub UpdateReferences( _
   ByVal model As UpdateFileReferencesModel _
) 

Parameters

NameDescription
model

Remarks

This is useful if FileA has a reference to FileB, and FileB is moved. We would want to update the references in FileA to point to the new location of FileB

The implementer is expected to save the file if any changes are made.

The implementer should decide if it can process model.SourceFile. If it can, then is should record the results by calling model.SetUpdateReferenceResult to record the results of each reference that was updated.

See Also