Share

Ribbon Object


Description

The Ribbon object represents the user interface containing a collection of tabs.

Properties

Name Description
Active Property that returns whether this ribbon is currently being displayed.
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
InternalName Property that returns the internal name of the ribbon.
Parent Property that returns the parent UserInterfaceManager object.
QuickAccessControls Property that returns a CommandControls collection containing the controls in the Quick Access Toolbar (QAT).
RibbonTabs Property that returns the RibbonTabs collection object.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

Environment.Ribbon, Ribbons.Item, RibbonTab.Parent

Samples

Name Description
Add parallel environment with contextual tabs The following sample demonstrates the use of parallel environments and contextual ribbon tabs.
Print information about all available ribbons. This sample prints out all of the elements of the ribbons. This output is very useful when customizing the ribbon to be able to get the names of the various existing ribbons, tabs, and panels.
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.

Version

Introduced in version 2010

Was this information helpful?