GetActiveServerId Method


Returns the Id of the currently active application-level server of the service.

Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013

Syntax

C#
public Guid GetActiveServerId()
Visual Basic
Public Function GetActiveServerId As Guid
Visual C++
public:
Guid GetActiveServerId()

Return Value

The GUID of the active server, or an invalid GUID if there is no active server assigned.

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 →