GetActiveServerIds Method


Multi Server Service Get Active Server Ids Method

Returns Ids of the currently active application-level servers registered for the service.

Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public IList<Guid> GetActiveServerIds()

Return Value

IList Guid
A set of GUIDs of the application-wide active servers; the list may be empty.
Remarks
More than one application-level server can be active at a given time in a multi-server service, but it is possible that no server is active (unless the service is mandatory).
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 →