Share

CommandManager.ControlDefinitions Property

Parent Object: CommandManager

Description

Property that returns the ControlDefinitions collection.

Syntax

CommandManager.ControlDefinitions() As ControlDefinitions

Property Value

This is a read only property whose value is a ControlDefinitions.

Samples

Name Description
Add commands to the application menu Demonstrates adding command to the application menu.
Copy a sketch This sample demonstrates copying the contents of a sketch into another sketch via the API.
Add parallel environment with contextual tabs The following sample demonstrates the use of parallel environments and contextual ribbon tabs.
Print list of all Inventor Commands This sample prints the internal names and descriptions of all commands (aka ControlDefinitions) in Inventor.
Creation of an override environment for a document A new ribbon tab is created and associated with the override environment.
Create a ribbon panel in an existing tab Demonstrates creating a new ribbon panel within an existing ribbon tab.
Break alignment of a section view Sample showing how to break the alignment of a drawing section view by calling the DrawingBreakViewAlignment command.
Cancel a double click Demonstrates how to receive (and in this case, cancel) a double click from a user.

Version

Introduced in version 9

Was this information helpful?