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) | int | Compares this ModelPath with another | ModelPath |
| Dispose() | None | Releases all resources used by the | ModelPath |
| GetModelGUID() | Guid | A GUID identifying the Revit cloud model. | ModelPath |
| GetProjectGUID() | Guid | A GUID identifying the BIM 360 Docs or Autodesk Docs project to which the model is associated. | ModelPath |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CentralServerPath | string | The path to the location of the central Revit server or cloud. | ModelPath |
| CloudPath | bool | Whether this path represents a path on an Autodesk server such as BIM360. | ModelPath |
| Empty | bool | Whether this path is empty | ModelPath |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | ModelPath |
| Region | string | The region of the BIM 360 Docs or Autodesk Docs account and project which contains this model. | ModelPath |
| ServerPath | bool | Whether this path is a server path (as opposed to a file path or cloud path) | ModelPath |