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