HasValidDisplayPath Method


Checks whether this external Resource has a valid display path.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2015

Syntax

C#
public bool HasValidDisplayPath()
Visual Basic
Public Function HasValidDisplayPath As Boolean
Visual C++
public:
bool HasValidDisplayPath()

Return Value

True if the this external Resource has a valid display path. False otherwise.

Remarks

For an external resource, such as a Revit link loaded from an external server, the valid display path should be like "My Server://Nested/Nested_1.rvt". For an external resource, such as a Revit link loaded from the "built-in" server, the valid display path should be like "c:\LocalLinks\Link_1.rvt".

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →