BIM 360 Document Management Project Id of Revit cloud model?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I retrieve the BIM 360 Document Management Project Id of the active Revit model? I'm aware of Document.GetCloudModelPath().GetProjectGUID() but this seems to be a C4R Project Id. I need the Document Management Id to interface with the Forge BIM 360 (And Data Management) APIs (https://forge.autodesk.com/en/docs/bim360/v1/reference/http/).
So far I've found that the Document Management file has an attribute that matches the C4R Project Guid: attributes.extension.data.projectGuid
So I need to find the Docs project that contains a file such that attributes.extension.data.projectGuid=<ActiveRevitDocument>.GetCloudModelPath().GetProjectGUID(). But surely there's a better approach than doing a folder search (https://forge.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-folders-folder_id-sear... using a filter "filter[attributes.extension.data.projectGuid]=<ValueFromCloudModelPath>") on every Docs Project that my Forge App has access to?