CATFunctSystemItf FunctionalVariants (Collection)
All Frameworks Object Hierarchy This Framework Indexes
FunctionalVariants (Collection)
The interface to access a collection of FunctionalVariants.
Method Index
-
Create
- Create a FunctionalVariant.
-
Delete
- Delete a FunctionalVariant.
-
Elem
- Returns a Variant using its index or its name from the Variants
collection.
Methods
-
Create a FunctionalVariant.
-
Delete a FunctionalVariant.
-
Returns a Variant using its index or its name from the Variants
collection.
- Parameters:
-
- iIndex
- The index or the name of the Variant to retrieve from
the collection of Variants.
As a numerics, this index is the rank of the Variant
in the collection.
The index of the first Variant in the collection is 1, and
the index of the last Variant is Count.
As a string, it is the name you assigned to the Variant using
the
AnyObject.Name property.
- Returns:
- The retrieved Variant
- Example:
-
This example retrieves in Act1 the fifth Variant
in the collection and in Act2 the Variant
named Moves.
Dim Act1 As FunctionalVariant
Set Act1 = Desc.Variant(5)
Dim Act2 As FunctionalVariant
Set Act2 = Desc.Variant("Adding new substance")
Copyright © 2003, Dassault Systèmes. All rights reserved.