Share

ExternalServiceRegistry Class

This class gives access to external services. Use it to register external services with Revit and execute them. Only the application that registers a service is allowed to execute it.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.ExternalService.ExternalServiceRegistry


Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static class ExternalServiceRegistry

The ExternalServiceRegistry type exposes the following members.

Methods

 NameDescription
Public methodStatic memberExecuteService(Guid, IExternalData) Execute a service independently of any document.
Public methodStatic memberExecuteService(Guid, Document, IExternalData) Execute the service for the given document.
Public methodStatic memberExecuteService(Guid, Guid, IExternalData) Execute the service by the given server.
Public methodStatic memberGetService Returns an instance of an object that represents the external service with the given Id.
Public methodStatic memberGetServices Returns a collection of all external services currently registered in Revit.
Public methodStatic memberRegisterService(ISingleServerService, ExternalServiceOptions) A method to register a single-server service.
Public methodStatic memberRegisterService(IMultiServerService, ExternalServiceOptions, ExecutionPolicy) A method to register a multi-server service.
Public methodStatic memberRegisterService(ISingleServerService, Guid, ExternalServiceOptions) A method to register a mandatory, single-server service.

See Also

Reference

Was this information helpful?