All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---Collection
|
+---ParameterSets
The following example shows how to retrieve it on a part:
Dim CATDocs As Documents
Set CATDocs = CATIA.Documents
Dim part1 As Document
Set part1 = CATDocs.Add("CATPart")
Dim parameters1 As Parameters
Set parameters1 = part1.Part.Parameters
Dim ParameterSet1 As ParameterSet
Set ParameterSet1 = parameters1.RootParameterSet
Dim parameterSets1 As ParameterSets
Set parameterSets1 = parameterSet1.ParameterSets
This collection is not a collection of all parameter sets of a document, but a collection of all parameter sets in the current parameter set.
| o Func CreateSet( | CATBSTR | iName) As CATIAParameterSet |
| o Func Item( | CATVariant | iIndex) As CATIAParameterSet |
Set theSet = parameterSets.Item("Parameters.1")
Copyright © 2003, Dassault Systèmes. All rights reserved.