Autodesk Vault ProfessionalVault API

GenerateFileNumbers Method

Autodesk.Connectivity.WebServicesDocumentService

Generates new file names based on numbering schemes.

Required Permissions

FileAdministerFileNumber

Syntax

public System.string[] GenerateFileNumbers(
   System.long[] numberingSchemeIds,
   StringArray[] fieldInputs
)
Public Function GenerateFileNumbers( _
   ByVal numberingSchemeIds() As System.Long, _
   ByVal fieldInputs() As StringArray _
) As System.String()

Parameters

NameDescription
numberingSchemeIdsThe numbering scheme to use for each name. All input arrays must be the same size.
fieldInputsThe values required for each numbering scheme. The top level array must be the same size as the other input array.

Return Value

An array of generated names.

Remarks

If a counter is used in the numbering scheme, calling this function will cause it to increment. This mechanism can be used to insure that no two files get the same name.

See Also