pycatia.abq_automation_interfaces.abq_analysis_cases¶
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.abq_automation_interfaces.abq_analysis_cases.ABQAnalysisCases(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionABQAnalysisCasesThe collection of ABQAQUS analysis case objects attached to anABQAnalysisModel object.- add(i_analysis_type: str) ABQAnalysisCase ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add(CATBSTR iAnalysisType) As ABQAnalysisCaseCreates a new Abaqus analysis case and adds it to the collection of Abaqusanalysis cases.Parameters:iAnalysisTypeThe type of Analysis Case to create.Legal values:“STRUCTURAL”“THERMAL”“EXPLICIT_DYNAMICS”Returns:The Abaqus analysis case object that was created.Example:The following example creates an Abaqus analysis caseabqCase1:Dim abqCases As ABQAnalysisCasesDim abqCase1 As ABQAnalysisCaseSet abqCase1 = abqCases.Add(“STRUCTURAL”)
- Parameters:
i_analysis_type (str) –
- Return type:
- item(i_index: cat_variant) ABQAnalysisCase ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As ABQAnalysisCaseReturns an Abaqus analysis case using its index or its name from theABQAnalysisCases collection.Parameters:iIndexThe index or the name of the Abaqus analysis case to retrieve fromthe collection of Abaqus analysis cases. If the index is a number, it specifiesthe rank of the Abaqus analysis case in the collection. The index of the firstAbaqus analysis case in the collection is 1, and the index of the last case isCount. If the index is a string, it specifies the name you assigned to the caseusing the CATIACollection::Name property.Returns:The specified ABQIAABQAnalysisCase.Example:This example retrieves the fifth Abaqus analysis case in the collectionand saves it in a variable called ThisCase. The example also retrieves theAbaqus analysis case named “MyCase” in the collection and saves it in avariable called ThatCase.Set CaseColl = AnalysisDoc.ABQAnalysisModel.CasesSet ThisCase = CaseColl.Item(5)Set ThatCase = CaseColl.Item(“MyCase”)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Remove(CATVariant iIndex)Removes an Abaqus analysis case using its index or its name from thecollection of Abaqus analysis cases. This function works only in CAAV5 R13onwards.Parameters:iIndexThe index or the name of the Abaqus analysis case to retrieve fromthe collection of Abaqus analysis cases. If the index is a number, it specifiesthe rank of the Abaqus analysis case in the collection. The index of the firstAbaqus analysis case in the collection is 1, and the index of the last analysiscase is Count. If the index is a string, it specifies the name you assigned tothe analysis case using the CATIABase::Nameproperty.
- Parameters:
i_index (cat_variant) –
- Return type:
None