Share

ModelPathUtils.ConvertUserVisiblePathToModelPath Method

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

ModelPath
A ModelPath representing either a server or file path.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

The path may be a server or file path.

See Also

Reference

Was this information helpful?