2027 Class
Changes 7
C

ModelPathUtils

Description:
Utility functions using ModelPaths
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ModelPathUtils
public static class ModelPathUtils
Name Return Type Description
M ConvertCloudGUIDsToCloudPath(String, Guid, Guid) ModelPath Converts a pair of cloud project and model GUIDs to a valid cloud path.
M ConvertModelPathToUserVisiblePath(ModelPath) String Gets a string version of the path of a given ModelPath.
M ConvertUserVisiblePathToModelPath(String) ModelPath Converts a user-visible path (string) to a ModelPath.
M GetAllCloudRegions() IList<String> 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.
M IsValidUserVisibleFullServerPath(String) Boolean Determines whether the given string represents a valid server path.
Name Return Type Description
P CloudRegionEMEA string Obsolete. 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.
P CloudRegionUS string Obsolete. 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.