GetCloudFolderId Method


Document Get Cloud Folder Id Method

Gets ForgeDM folder id where the model locates.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string GetCloudFolderId(
	bool forceRefresh
)

Parameters

forceRefresh Boolean
Cached value will be refreshed by sending a service call when forceRefresh is true.

Return Value

String
Exceptions
Exception Condition
RevitServerUnauthorizedException Thrown when cannot get data from ForgeDM for Revit cloud model.
Remarks
It is empty for non-cloud model; It is cached in Revit model opened session after getting it if forceRefresh is false; ForgeDM folder id can be changed during Revit model opened session, set forceRefresh as 'true' to get new value.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →