RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Document

Document.GetHubId

Method
Description:
Gets ForgeDM hub id where the model locates. It is cached in session.
Remarks:
It is empty for non-cloud model; It is cached in Revit model opened session after getting it;
Syntax
public string GetHubId()
Exceptions
Exception Condition
RevitServerUnauthorizedException Thrown when cannot get data from ForgeDM for Revit cloud model.