|
![]() |
Determines logic used to determine if a command is Enabled
Namespace: Autodesk.Navisworks.Api.Plugins
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Enumeration CallCanExecute |
C# |
---|
public enum CallCanExecute |
Visual C++ |
---|
public enum class CallCanExecute |
Members
Member name | Description | |
---|---|---|
Always |
Command is Enabled unless specifically disabled by CanExecute implementation
| |
DocumentNotClear |
Command is disabled if the doument is Clear
| |
CurrentSelectionSingle |
Command is Disabled unless there is a single selection
| |
CurrentSelectionMultiple |
Command is Disabled unless there are multiple selections
|
Remarks
The framework will use this as a pre-check to decide if a command is enabled.
Next it will use LoadForCanExecute to decide if the plugin should be loaded if it is not already. If loaded it will call CanExecute, otherwise it will assume the command is enabled.
