IExternalDataManagerServer.IsCommandEnabled
Description:
Checks if the command is enabled.
Checks if the command is enabled.
Remarks:
Revit calls this whenever the selection changes to grey-out commands that are not currently applicable. The method should be FAST; avoid any heavy processing or disk I/O.
Revit calls this whenever the selection changes to grey-out commands that are not currently applicable. The method should be FAST; avoid any heavy processing or disk I/O.
bool IsCommandEnabled(
Document document,
ExternalDataManagerCommandId commandId,
IList<ExternalDataManagerDataItemId> dataIds
)
-
documentThe document.
-
commandIdThe command name.
-
dataIdsThe selected data ids.