- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Vault 2024 API- "Where Used" files
Problem: I am trying to get the list of files in the "Where Used" tab.
Scenario: C# .NET 4.8 win form application, I am using functions like- GetAssociatedFilePathsByIds
Example-
// I have tried using different sets of values for this below function's parameters.
long[] fileID = new long[] { file.Id };
Connection.WebServiceManager.DocumentService.GetAssociatedFilePathsByIds(fileID,
FileAssociationTypeEnum.Dependency, true, FileAssociationTypeEnum.Dependency, true, false, false);
Real: In the Vault pro-
I choose 999-0024.ipt, I see these in the "Where Used" tab-
> 999-0024.ipt
>999-0023.iam (this is not showing at all in the function result)
>999-0047.iam
>999-0017.iam
>999-0024.dwg
(I am looking for this exact list above)
After executing the function above, I get these results- (it comes with many files along with their version number)
>999-0024.ipt (ver 3)
>999-0017.iam (ver 4)
>999-0047.iam (ver 4)
>999-0017.iam (ver 5)
>999-0024.dwg (ver 1)
>999-0017.dwg (ver 4)
>999-0047.dwg (ver 6)
>999-0017.dwg (ver 5)
Could I request any solid solution with codes that gives the same result or most accurate result?
FYI- I have tried these, but did not get the exact results
API Where Used - Autodesk Community - Vault
Get Where Used Information for a Vault Item - Manufacturing DevBlog (typepad.com)
Solved! Go to Solution.
