ServerPath
Description:
This class represents a path to a Revit Server location, rather than a location on disk or a network drive.
This class represents a path to a Revit Server location, rather than a location on disk or a network drive.
Remarks:
ServerPaths must refer to Revit models.
ServerPaths are relative to the central server location, and are of the form "RSN://{HostNodeName}/{model_path}".
The {model_path} portion is a relative path to a Revit model. For example, the following are valid server paths:
- RSN://EXS/hospital.rvt
- RSN://EXS.autodesk.com/Old Files/hotel2.rvt
- RSN://EXS.autodesk.com/Old Files/Last Week/Tuesday\hotel2.rvt
- //EXS/Old Files/.rvt
- EXS/hospital
public class ServerPath : ModelPath
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ServerPath(String, String) | None | Constructs a ServerPath |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Compare(ModelPath) | Int32 | Compares this ModelPath with another (Inherited from ModelPath ) | ModelPath |
| Dispose() | None | (Inherited from ModelPath ) | ModelPath |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetModelGUID() | Guid | A GUID identifying the Revit cloud model. (Inherited from ModelPath ) | ModelPath |
| GetProjectGUID() | Guid | A GUID identifying Cloud Model project to which the cloud model is associated. (Inherited from ModelPath ) | ModelPath |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CentralServerPath | string | The path to the location of the central Revit server or cloud. (Inherited from ModelPath ) | ModelPath |
| CloudPath | bool | Whether this path represents a path on an Autodesk server such as BIM360. (Inherited from ModelPath ) | ModelPath |
| Empty | bool | Whether this path is empty (Inherited from ModelPath ) | ModelPath |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from ModelPath ) | ModelPath |
| Region | string | The region of the cloud model. (Inherited from ModelPath ) | ModelPath |
| ServerPath | bool | Whether this path is a server path (as opposed to a file path or cloud path) (Inherited from ModelPath ) | ModelPath |