GetDefaultServerId Method


External Service Get Default Server Id Method

Returns the Id of the default server if one was assigned to the service.

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

Return Value

Guid
The GUID of the default server, or an invalid GUID if there is none assigned.
Remarks
Only mandatory services have default servers assigned. Only single-server and built-in multi-server services can currently be mandatory. All other services that are optional don't have a default server.
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 →