Revit 2026 API
Single |
Returns the Id of the server currently associated with the given document for the service.
Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public Guid GetActiveServerId( Document document )
Public Function GetActiveServerId ( document As Document ) As Guid
public: Guid GetActiveServerId( Document^ document )
member GetActiveServerId : document : Document -> Guid
Parameters
- document Document
- The document for which the server is being set as active.
Return Value
GuidThe Guid of the active server, or an invalid Guid if there is no active server assigned.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also