All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

RenderingEnvironments (Collection)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---Collection
          |
          +---RenderingEnvironments
 


A collection of all the Rendering Environments objects.

Method Index

Add
Adds a new environment to the environments collection.
Item
Returns an environment index in the environments collection.
Remove
Removes a environment from the environments collection.
RemoveAll
Removes all environments.

Methods


o Func Add(short iEnvironmentType) As CATIARenderingEnvironment
Adds a new environment to the environments collection.
Parameters:
iEnvironmentType
The type of the environment to create choosen among:
1
For cubical environment
2
For spherical environment
3
For cylindrical environment
o Func Item(CATVariant iIndex) As CATIARenderingEnvironment
Returns an environment index in the environments collection.
Parameters:
iIndex
The index of the environment to retrieve in the collection of environments. Compared with other collections, you cannot use the name of the environment as argument.
Returns:
The retrieved environment
Example:
The following example returns in MyEnvironment the sixth environment in a environment collection.
 Dim MyEnvironment As RenderingEnvironment
 Set MyEnvironment = RenderingEnvironments.Item(6)
 
o Sub Remove(CATVariant iIndex)
Removes a environment from the environments collection.
o Sub RemoveAll()
Removes all environments.of the collection

Copyright © 2003, Dassault Systèmes. All rights reserved.