pycatia.analysis_interfaces.analysis_case¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.analysis_interfaces.analysis_case.AnalysisCase(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAnalysisCaseRepresent the analysis case object.Role: Interface designed to manage Analysis Case behavior.In the Analysis document, an Analysis Case is the object dedicated to defineand manage the environment data necessary to run a computation. Thisenvironment is made of sets.- add_solution(i_solution_type: str) AnalysisSet ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddSolution(CATBSTR iSolutionType) As AnalysisSetCreates a Solution set defined by its type in the Case.Parameters:iSolutionTypeThe feature type of the solution set.This is a user defined type corresponding to the kind ofcomputation. For example “StaticSet”Returns:oSolution The analysis set created.Example:The following example create a solution set ListSetsDim MyCase As AnalysisCaseDim Newsol As AnalysisSetSet Newsol = MyCase.AddSolution(“StaticSet”)
- Parameters:
i_solution_type (str) –
- Return type:
- property analysis_sets: AnalysisSets¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AnalysisSets() As AnalysisSets (Read Only)Returns the analysis sets collection associated to the analysiscase.Returns:The collection of analysis sets.Example:The following example retrieves the analysis sets collectionListSetsDim MyCase As AnalysisCaseDim ListSets As AnalysisSetsSet ListSets = MyCase.AnalysisSets
- Return type:
- compute() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Compute()Launch the computation (Update) of an analysis case. This step correspondsto the “Case Solution” option of the interactive command.Example:The following example launches the update of MyCaseDim MyCase As AnalysisCaseMyCase.Compute
- Return type:
None
- compute_mesh_only() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ComputeMeshOnly()Launch the computation (Update) of an analysis case. This methodcorresponds to the “Mesh Only” option of the interactive command.Example:The following example launches the update of MyCaseDim MyCase As AnalysisCaseMyCase.ComputeMeshOnly
- Return type:
None