GetServiceId Method


IExternal Server Get Service Id Method

Implement this method to return the id of the service.

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

Return Value

ExternalServiceId
The id of the service to which the server belongs.
Remarks
An external server belongs to only one external service. This method must return an Id that matches the Id of the corresponding service was registered with.
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 →