All Frameworks  Object Hierarchy  This Framework  Indexes   

FixTogethers (Collection)

A collection of all the FixTogether objects contained in the product.

Method Index

Add
Creates a new FixTogether and adds it to the FixTogethers collection.
Item
Returns a FixTogether using its index or its name from the FixTogethers collection.
Remove
Removes a FixTogether from the FixTogethers collection.

Methods


o Func Add() As
Creates a new FixTogether and adds it to the FixTogethers collection.
Returns:
The created FixTogether
Example:
The following example creates a FixTogether newFixTogether in the FixTogether collection.
 Set newFixTogether = fixTogethers.Add
 
o Func Item( iIndex) As
Returns a FixTogether using its index or its name from the FixTogethers collection.
Parameters:
iIndex
The index or the name of the FixTogether to retrieve from the collection of FixTogether. As a numerics, this index is the rank of the FixTogether in the collection. The index of the first FixTogether in the collection is 1, and the index of the last FixTogether is Count. As a string, it is the name you assigned to the FixTogether using the
AnyObject.Name property.
Returns:
The retrieved FixTogether
Example:
This example retrieves in thisFixTogether the fifth FixTogether in the collection and in thatFixTogether the FixTogether named MyFixTogether in the FixTogether collection of the product product.
 Set fixTogetherColl = product.FixTogethers
 Set thisFixTogether = fixTogetherColl.Item(5)
 Set thatFixTogether = fixTogetherColl.Item("MyFixTogether")
 
o Sub Remove( iIndex)
Removes a FixTogether from the FixTogethers collection.
Parameters:
iIndex
The index or the name of the FixTogether to remove from the FixTogethers collection. As a numerics, this index is the rank of the FixTogether in the collection. The index of the first FixTogether in the collection is 1, and the index of the last FixTogether is Count. As a string, it is the name you assigned to the FixTogether using the
AnyObject.Name property.
Example:
This example removes the last FixTogether in the collection.
 fixTogetherColl.Remove(fixTogetherColl.Count)
 

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