ControlDefinition.Execute Method
Parent Object: ControlDefinitionDescription
Method that runs the built-in command or sends the Click event to the Add-In. The end result of calling the Execute method is the same as if the user had clicked/pressed the relevant control - for example, by clicking on a button that references a ButtonDefinition object.
Syntax
ControlDefinition.Execute()Samples
Name | Description |
Copy a sketch | This sample demonstrates copying the contents of a sketch into another sketch via the API. |
Break alignment of a section view | Sample showing how to break the alignment of a drawing section view by calling the DrawingBreakViewAlignment command. |