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 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 →