All Frameworks  Object Hierarchy  This Framework  Indexes   

FreeParameters (Collection)

Interface to access a CATIAFreeParameters.

Method Index

AddFreeParameter
Adds a free parameter.
Item
Retrieves an optimization using its index or its name from the Free Parameters collection.
RemoveFreeParameter
Removes a free parameter.

Methods


o Func AddFreeParameter( parameter) As
Adds a free parameter. This parameter must not be read only.
o Func Item( iIndex) As
Retrieves an optimization using its index or its name from the Free Parameters collection.
Parameters:
iIndex
The index or the name of the free parameter to retrieve from the collection of free parameters. As a numerics, this index is the rank of the free parameter in the collection. The index of the first free parameter in the collection is 1, and the index of the last free parameter is Count. As a string, it is the name you assigned to the free parameter using the
AnyObject.Name property or when changing the free parameter name by the property panel.
Returns:
The retrieved free parameter
Example:
This example retrieves the last free parameter in the free parameters collection.
 Set lastFreeParameter = freeParameters.Item(freeParameters.Count)
 
o Sub RemoveFreeParameter( iIndex)
Removes a free parameter.

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