Share

Environments Object


Description

The Environments collection object provides access to all of the existing objects, and allows creation of new ones. See the UI customization and Environments overviews for more information.

Methods

Name Description
Add Method that creates a new Environment object.

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 Environments in the collection.
Item Returns the specified Environment object from the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

UserInterfaceManager.Environments

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.

Version

Introduced in version 5

Was this information helpful?