IExternalDataManagerServer Interface

Interface class for external server of ExternalServices.BuiltInExternalServices.ExternalDataManagerService. Implementation guidelines: Each method is called on the Revit API thread to avoid blocking the UI for prolonged periods. Heavy work should be off-loaded to background threads whenever possible. All strings returned by functions must be localized.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public interface IExternalDataManagerServer : IExternalServer

The IExternalDataManagerServer type exposes the following members.

Methods
 NameDescription
Public methodGetCommandsForAdd Retrieves commands in the Add menu.
Public methodGetContentTools Obtains the content tool items of the selected data
Public methodGetData Obtains the data.
Public methodGetDescription Implement this method to return a description of the server.
(Inherited from IExternalServer)
Public methodGetName Implement this method to return the name of the server.
(Inherited from IExternalServer)
Public methodGetPreviewImage Retrieves the handle of preview image.
Public methodGetPreviewImageFile Retrieves the handle of preview image.
Public methodGetServerId Implement this method to return the id of the server.
(Inherited from IExternalServer)
Public methodGetServiceId Implement this method to return the id of the service.
(Inherited from IExternalServer)
Public methodGetTitle Obtains the title for the external data.
Public methodGetVendorId Implement this method to return the id of the vendor of the server.
(Inherited from IExternalServer)
Public methodIsCommandEnabled Checks if the command is enabled.
Public methodIsEnabledInFamilyDocuments Checks if the data type enabled in family documents.
Public methodOnCommand Handles user command.
Top
See Also