ConvertCloudGUIDsToCloudPath Method (String, Guid, Guid)


Converts a pair of cloud project and model GUIDs to a valid cloud path.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2021

Syntax

C#
public static ModelPath ConvertCloudGUIDsToCloudPath(
	string region,
	Guid projectGuid,
	Guid modelGuid
)
Visual Basic
Public Shared Function ConvertCloudGUIDsToCloudPath ( _
	region As String, _
	projectGuid As Guid, _
	modelGuid As Guid _
) As ModelPath
Visual C++
public:
static ModelPath^ ConvertCloudGUIDsToCloudPath(
	String^ region, 
	Guid projectGuid, 
	Guid modelGuid
)

Parameters

region
Type: SystemString
The region of the BIM 360 Docs or Autodesk Docs account and project which contains this model. Please see the reference values, like CloudRegionUS and CloudRegionEMEA, and the new regions from release note.
projectGuid
Type: SystemGuid
The GUID of the cloud project which contains the model.
modelGuid
Type: SystemGuid
The GUID of the Revit cloud model.

Return Value

The cloud model path.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsCentralModelException The cloud project is missing.
Autodesk.Revit.ExceptionsRevitServerCommunicationException The central server could not be reached.
Autodesk.Revit.ExceptionsRevitServerUnauthenticatedUserException You must sign in to Autodesk 360 in order to complete action.
Autodesk.Revit.ExceptionsRevitServerUnauthorizedException You are unauthorized to access this resource.

See Also