UIControlledApplication.CreateAddInCommandBinding
Method
Description:
Creates a new AddInCommandBinding.
Creates a new AddInCommandBinding.
Parameters
Parameter | Type | Description |
---|---|---|
revitCommandId | RevitCommandId | The Revit command id to identify the command handler you want to replace. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when uiApplication or revitCommandId is. |
InvalidOperationException | Thrown when the given command already has been bound. |