Autodesk Vault ProfessionalVault API

GetAssociatedFilePathsByIds Method

Autodesk.Connectivity.WebServicesDocumentService

Gets associated file paths for a list of file Ids.

Required Permissions

FileRead

Syntax

public FilePathArray[] GetAssociatedFilePathsByIds(
   System.long[] fileIds,
   FileAssociationTypeEnum parentAssociationType,
   System.bool parentRecurse,
   FileAssociationTypeEnum childAssociationType,
   System.bool childRecurse,
   System.bool includeRelatedDocuments,
   System.bool includeHidden
)
Public Function GetAssociatedFilePathsByIds( _
   ByVal fileIds() As System.Long, _
   ByVal parentAssociationType As FileAssociationTypeEnum, _
   ByVal parentRecurse As System.Boolean, _
   ByVal childAssociationType As FileAssociationTypeEnum, _
   ByVal childRecurse As System.Boolean, _
   ByVal includeRelatedDocuments As System.Boolean, _
   ByVal includeHidden As System.Boolean _
) As FilePathArray()

Parameters

NameDescription
fileIdsAn array of file Ids in the Vault.
parentAssociationTypeThe types of parents to get.
parentRecurseIndicates whether multiple levels of associated files should be returned. When false, only immediate parent associated files are returned. When true, associations are recursed to return all available levels of hierarchy (e.g. parents/grandparents/great-grandparents).
childAssociationTypeThe types of children to get.
childRecurseIndicates whether multiple levels of associated files should be returned. When false, only immediate child associated files are returned. When true, associations are recursed to return all available levels of hierarchy (e.g. children/grandchildren/great-grandchildren).
includeRelatedDocumentsIf true, parent design documents are returned for all returned files. If false, no additional files will be added to the return set.
includeHiddenIf true, files marked as hidden will show up in the search. Otherwise hidden files will be excluded.

Return Value

A list of FilePathArray objects related to the input fileIds array. The order of the items is not guaranteed.

See Also