RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ModelPathUtils

ModelPathUtils.ConvertUserVisiblePathToModelPath

Method
Description:
Converts a user-visible path (string) to a ModelPath.
Remarks:
The path may be a server or file path.
Syntax
Parameters
Parameter Type Description
strPath String The path in string form, like RSN://{HostNodeName}/school/project.rvt
Return Value
Type Description
ModelPath A ModelPath representing either a server or file path.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null