Autodesk Vault ProfessionalVault API

UpdateFilePropertyDefinitions Method

Autodesk.Connectivity.WebServicesDocumentService

Updates the property definitions associated with a set of files.

Required Permissions

FileAddRemoveUserDefinedProperty

Syntax

public File[] UpdateFilePropertyDefinitions(
   System.long[] masterIds,
   System.long[] addedPropDefIds,
   System.long[] removedPropDefIds,
   System.string comment
)
Public Function UpdateFilePropertyDefinitions( _
   ByVal masterIds() As System.Long, _
   ByVal addedPropDefIds() As System.Long, _
   ByVal removedPropDefIds() As System.Long, _
   ByVal comment As System.String _
) As File()

Parameters

NameDescription
masterIdsFiles to edit.
addedPropDefIdsUser defined property definitions to associate with all files listed in "fileMasterIds" parameter.
removedPropDefIdsUser defined property definitions to un-associate with all files listed in "fileMasterIds" parameter.
commentThe comment for the new version of the file.

Return Value

The updated File objects.

Remarks

Only user defined property definitions can be added or removed. This operation creates a new file version. File must not be checked out to call this function.

See Also