- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Everyone,
I am trying to get the path name of a document, which is a Revit link in a project A. This Revit link is a cloud model named "SourceCloudLinked" and stored in the folder "Cloud Model - Non Workshared" in ACC. The project A also has one more Revit link whose name is also "SourceCloudLinked" but it is stored in the folder "Cloud Model - Workshared" in ACC.
When I loop through all documents to find the Revit link, the line 1 (in the figure below) show its document's path name, which is not clearly stated where it is stored. The line 2 is the revit link type's file path which is retrieve by this code:
Dim err = _rlt.GetExternalResourceReference(ExternalResourceTypes.BuiltInExternalResourceTypes.RevitLink)
FilePath = err.InSessionPath
My need is to compare the two file paths and get the document of the Revit link to retrieve data inside the link. However, with the issue above, now I can rely on the name of the Revit link, but this is a potential error when the project has two Revit link with the same name.
Solved! Go to Solution.