Indexes   

RenderingEnvironments (Collection)

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.
RemoveAll
Removes all environments.
Remove
Removes a environment from the environments collection.

Methods


o Func Add( iEnvironmentType) As
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( iIndex) As
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 RemoveAll()
Removes all environments.of the collection
o Sub Remove( iIndex)
Removes a environment from the environments collection.

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