Returns the Id of the server currently associated with the given document for the service.
Namespace: Autodesk.Revit.DB.ExternalServiceAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Guid GetActiveServerId(
Document document
)
Parameters
- document Document
-
The document for which the server is being set as active.
Return Value
Guid
The Guid of the active server, or an invalid Guid if there is no active server assigned.
Exceptions
See Also
Reference