CATAnalysisInterfaces AnalysisCase (Object)
All Frameworks Object Hierarchy This Framework Indexes
AnalysisCase (Object)
Represent the analysis case object.
Role: Interface designed to manage Analysis Case behavior .
In the Analysis document, an Analysis Case is the object
dedicated to define and manage the environment data necessary to run
a computation. This environment is made of sets.
Property Index
AnalysisSets
Returns the analysis sets collection associated to the analysis case.
Method Index
AddSolution
Creates a Solution set defined by its type in the Case.
ComputeMeshOnly
Launch the computation (Update) of an analysis case.
Compute
Launch the computation (Update) of an analysis case.
Properties
o Property AnalysisSets ( ) As (Read Only)
Returns the analysis sets collection associated to the analysis case.
Returns:
The collection of analysis sets.
Example:
The following example retrieves the analysis sets collection ListSets
Dim MyCase As AnalysisCase
Dim ListSets As AnalysisSets
Set ListSets = MyCase.AnalysisSets
Methods
o Func AddSolution ( iSolutionType ) As
Creates a Solution set defined by its type in the Case.
Parameters:
iSolutionType
The feature type of the solution set. This is a user defined type corresponding to the kind of computation.
For example "StaticSet"
Returns:
oSolution The analysis set created.
Example:
The following example create a solution set ListSets
Dim MyCase As AnalysisCase
Dim Newsol As AnalysisSet
Set Newsol = MyCase.AddSolution ("StaticSet")
Launch the computation (Update) of an analysis case.
This method corresponds to the "Mesh Only" option of the interactive command.
Example:
The following example launches the update of MyCase
Dim MyCase As AnalysisCase
MyCase.ComputeMeshOnly
Launch the computation (Update) of an analysis case.
This step corresponds to the "Case Solution" option of the interactive command.
Example:
The following example launches the update of MyCase
Dim MyCase As AnalysisCase
MyCase.Compute
Copyright © 2003, Dassault Systèmes. All rights reserved.