GetActiveServerIds Method (Document)


Multi Server Service Get Active Server Ids(Document) Method

Returns Ids of the servers currently applicable to the given document 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(
	Document document
)

Parameters

document Document
The associated document.

Return Value

IList Guid
A set of GUIDs of the document-applicable active servers; the list may be empty.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
The Ids would be of all the servers explicitly assigned to the specified document.
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 →