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