ModelPathUtils.IsValidUserVisibleFullServerPath
Description:
Determines whether the given string represents a valid server path.
Determines whether the given string represents a valid server path.
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:
- 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 static bool IsValidUserVisibleFullServerPath(
string strPath
)
-
StringstrPathThe path, in string form
Return Value
bool
True if the given path is a valid server path, false otherwise.
-
A non-optional argument was null