Revit 2025.3 API
External |
Returns the instance that provides implementation for a registered server.
Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IExternalServer GetServer( Guid serverId )
Public Function GetServer ( serverId As Guid ) As IExternalServer
public: IExternalServer^ GetServer( Guid serverId )
member GetServer : serverId : Guid -> IExternalServer
Parameters
- serverId Guid
- Id of a registered server
Return Value
IExternalServerAn instance of the server interface. NULL is returned if the server is invalid (e.g. destroyed)

Exception | Condition |
---|---|
ArgumentException | The given Id is not a valid GUID value. |
See Also