HasValidServer Method


Returns true if the current rebar contains a valid server GUID, false otherwise.

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

Syntax

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

Return Value

Returns true if the current rebar contains a valid server GUID, false otherwise.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →