Share

RibbonTabs Object


Description

The RibbonTabs collection object provides access to all existing tabs within a ribbon and provides methods to create additional tabs.

Methods

Name Description
Add Method that creates a new RibbonTab within a ribbon. The newly created RibbonTab is returned.

Properties

Name Description
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.
Count Property that returns the number of items in this collection.
Item Returns the specified RibbonTab object from the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

Ribbon.RibbonTabs

Samples

Name Description
Add parallel environment with contextual tabs The following sample demonstrates the use of parallel environments and contextual ribbon tabs.
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?