Share

RibbonPanels Object


Description

The RibbonPanels collection object provides access to all existing panels within a ribbon tab and provides methods to create additional panels.

Methods

Name Description
Add Method that creates a new RibbonPanel within a ribbon tab. The newly created RibbonPanel 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 RibbonPanel object from the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

RibbonTab.RibbonPanels

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?