GetServerId Method


IExternal Server Get Server Id Method

Implement this method to return the id of the server.

Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
Guid GetServerId()

Return Value

Guid
The id of the server.
Remarks
The Id must uniquely identify the external server to the corresponding external service. It will be an error when two servers with identical Ids try to register for one external service.
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 →