ModelPathUtils.ConvertCloudGUIDsToCloudPath
Method
Description:
Converts a pair of cloud project and model GUIDs to a valid cloud path.
Converts a pair of cloud project and model GUIDs to a valid cloud path.
Syntax
public static ModelPath ConvertCloudGUIDsToCloudPath(
string region,
Guid projectGuid,
Guid modelGuid
)
Parameters
Parameter | Type | Description |
---|---|---|
region | String | The region of the BIM 360 Docs or Autodesk Docs account and project which contains this model. Please see the reference values, like <a href="c5e22d28-4779-809b-0269-cb40cb1f4efb.htm">CloudRegionUS</a> and <a href="4746836b-2385-49ae-db34-326f53d59d91.htm">CloudRegionEMEA</a>, and the new regions from release note. |
projectGuid | Guid | The GUID of the cloud project which contains the model. |
modelGuid | Guid | The GUID of the Revit cloud model. |
Return Value
Type | Description |
---|---|
ModelPath | The cloud model path. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
CentralModelException | The cloud project is missing. |
RevitServerCommunicationException | The central server could not be reached. |
RevitServerUnauthenticatedUserException | You must sign in to Autodesk 360 in order to complete action. |
RevitServerUnauthorizedException | You are unauthorized to access this resource. |