2027 Interface
Changes 8
I

IExternalDataManagerServer

Description:
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.
Name Return Type Description Inherited From
M GetCommandsForAdd() IList<ExternalDataManagerCommandId> Retrieves commands in the Add menu.
M GetContentTools(Document) IList<ExternalDataManagerTool> Obtains the content tool items of the selected data
M GetData(Document) IList<ExternalDataManagerDataItem> Obtains the data.
M GetDescription() String Implement this method to return a description of the server. (Inherited from IExternalServer ) IExternalServer
M GetName() String Implement this method to return the name of the server. (Inherited from IExternalServer ) IExternalServer
M GetPreviewImage(Document, ExternalDataManagerDataItemId) IntPtr Retrieves the handle of preview image.
M GetPreviewImageFile(Document, ExternalDataManagerDataItemId) String Retrieves the handle of preview image.
M GetServerId() Guid Implement this method to return the id of the server. (Inherited from IExternalServer ) IExternalServer
M GetServiceId() ExternalServiceId Implement this method to return the id of the service. (Inherited from IExternalServer ) IExternalServer
M GetTitle() String Obtains the title for the external data.
M GetVendorId() String Implement this method to return the id of the vendor of the server. (Inherited from IExternalServer ) IExternalServer
M IsCommandEnabled(Document, ExternalDataManagerCommandId, IList<ExternalDataManagerDataItemId>) Boolean Checks if the command is enabled.
M IsEnabledInFamilyDocuments() Boolean Checks if the data type enabled in family documents.
M OnCommand(Document, ExternalDataManagerCommandId, IList<ExternalDataManagerDataItemId>) None Handles user command.