SfmReferences (Object)

A Collection of U and V Reference elements for Standard Opening.

Methods


Sub Add( iReference)
Adds a reference in the collection.
Parameters:
iReference
[in] Reference.
Returns:
S_OK if everything ran ok.
This example Adds one U Reference to the list of SfmReferences.
 Dim Uref1 As Reference
 Set Uref1 = Part1.FindObjectByName("CROSS.95")
 'Add one U Reference to the list
 Dim UrefList As SfmReferences
  UrefList.Add Uref1
 
Sub ClearList()
Clears the contents of existing list of SfmReferences.
Returns:
Error code
Example
:
This example clears the contents of a list.
  Dim ListofRef As SfmReferences
  Dim Uref1 as Reference
  ListofRef.Add Uref1
  ListofRef.ClearList
 
Func Item( iIndex) As
Retrieves a Reference from the collection of SfmReferences.
Parameters:
iIndex
[in] The index of the parameter
oParm
[out] The parameter
Returns:
Error code
Example
:
This example retrieves 'i'th Reference from a list of References
  Dim ListofRef As SfmReferences
  Set Ref1 = ListofRef.Item(i)