Share

ModelPathUtils Class

Utility functions using ModelPaths

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.ModelPathUtils


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public static class ModelPathUtils

The ModelPathUtils type exposes the following members.

Properties

 NameDescription
Public propertyStatic memberCloudRegionEMEAObsolete.
The name of cloud region EMEA. This method is deprecated in Revit 2026.3 and may be removed in a later version of Revit. See GetAllCloudRegions to get the list of all available regions.
Public propertyStatic memberCloudRegionUSObsolete.
The name of cloud region US. This method is deprecated in Revit 2026.3 and may be removed in a later version of Revit. See GetAllCloudRegions to get the list of all available regions.

Methods

 NameDescription
Public methodStatic memberConvertCloudGUIDsToCloudPath Converts a pair of cloud project and model GUIDs to a valid cloud path.
Public methodStatic memberConvertModelPathToUserVisiblePath Gets a string version of the path of a given ModelPath.
Public methodStatic memberConvertUserVisiblePathToModelPath Converts a user-visible path (string) to a ModelPath.
Public methodStatic memberGetAllCloudRegions Gets all available regions that are supported by the cloud service. It returns an empty list when something gets wrong. Check the journal to see the error message for further information.
Public methodStatic memberIsValidUserVisibleFullServerPath Determines whether the given string represents a valid server path.

See Also

Reference

Was this information helpful?