Creates a new analysis set and adds it to the analysis sets collection.
The analysis set will be aggregated on the Analysis Model
Parameters:
iType
under the form : oStartUpName@oCatalogName?oClientId (For User defined Startups). The type of the set to create.
dd>
iSetType
The category of the set for update.
dd>
Returns:
The created Analysis Set
dd>
Example:
This example create ThisAnalysisSet in the analysisSetsanalysis
sets collection. The set to create is supposed to be a load set defined as an input of
the case for the update.
Dim ThisAnalysisSet As AnalysisSet
Set ThisAnalysisSet = analysisSets.Add("LoadSet", 0)
Sub AddExistingSet( iSet, iSetType)
Adds an existing analysis set to the analysis sets collection.
Parameters:
iSet
The Existing Analysis Set.
dd>
iSetType
The category of the set for update.
dd>
Example:
This example adds ThisAnalysisSet in the analysisSetsanalysis
sets collection. The set to add is supposed to be a restrain set defined as an input of
the case for the update.
Dim ThisAnalysisSet As AnalysisSet
...
analysisSets.AddExistingSet(ThisAnalysisSet, 0)
Func Item( iIndex, iSerachType) As
Returns an analysis set using its index or its name from the analysis sets collection.
Parameters:
iIndex
The index or the name of the analysis set to retrieve from
the collection of analysis sets.
As a numerics, this index is the rank of the analysis set
in the collection.
The index of the first analysis set in the collection is 1, and
the index of the last analysis set is Count.
As a string, it is the name you assigned to the analysis set using
the
property or when creating it using the
method.
dd>
iSerachType
The criterion of searching the set.
dd>
Returns:
The retrieved analysis set
dd>
Example:
This example retrieves in ThisAnalysisSet the third analysis set,
and in ThatAnalysisSet the analysis set named
MySet in the analysis set collection of an Analysis Case of analysis model.
Dim ThisAnalysisSet As AnalysisSet
Set ThisAnalysisSet = analysisCase.AnalysisSets.Item(3,1)
Dim ThatAnalysisSet As AnalysisSet
Set ThatAnalysisSet = analysisCase.AnalysisSets.Item("MySet")
Func ItemByType( iType) As
Returns an analysis set using its type from the analysis sets collection.
Parameters:
iType
The type of the set required for the search
dd>
Returns:
The retrieved analysis set
dd>
Example:
This example retrieves in ThisAnalysisSet the "LoadSet" analysis set
in the analysis set collection.
Dim ThisAnalysisSet As AnalysisSet
Set ThisAnalysisSet = analysisCase.AnalysisSets.ItemByType("LoadSet")
Sub Remove( iIndex)
Removes a set using its index or its name from the set collection.
Parameters:
iIndex
The index or the name of the set to retrieve from
the collection of sets.
As a numeric, this index is the rank of the set
in the collection. The index of the first set in the collection is 1,
and the index of the last set is Count.
As a string, it is the name you assigned to the set using
the
property.
dd>