ModelPathUtils.ConvertUserVisiblePathToModelPath
Public Class
ArgumentNullException
Converts a user-visible path (string) to a ModelPath.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static ModelPath ConvertUserVisiblePathToModelPath( string strPath)Parameters
strPathString
The path in string form, like RSN://{HostNodeName}/school/project.rvt
Return Value
ModelPath
A ModelPath representing either a server or file path.
Exceptions
Exception
Condition
ArgumentNullException
A non-optional argument was null
Remarks
The path may be a server or file path.