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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
ABQAnalysisCases

The collection of ABQAQUS analysis case objects attached to an
ABQAnalysisModel 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 ABQAnalysisCase

Creates a new Abaqus analysis case and adds it to the collection of Abaqus
analysis cases.

Parameters:

iAnalysisType
The 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 case
abqCase1:

Dim abqCases As ABQAnalysisCases
Dim abqCase1 As ABQAnalysisCase
Set abqCase1 = abqCases.Add(“STRUCTURAL”)
Parameters:

i_analysis_type (str) –

Return type:

ABQAnalysisCase

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 ABQAnalysisCase

Returns an Abaqus analysis case using its index or its name from the
ABQAnalysisCases collection.

Parameters:

iIndex
The index or the name of the Abaqus analysis case to retrieve from
the collection of Abaqus analysis cases. If the index is a number, it specifies
the rank of the Abaqus analysis case in the collection. The index of the first
Abaqus analysis case in the collection is 1, and the index of the last case is
Count. If the index is a string, it specifies the name you assigned to the case
using the CATIACollection::Name property.

Returns:
The specified ABQIAABQAnalysisCase.
Example:
This example retrieves the fifth Abaqus analysis case in the collection
and saves it in a variable called ThisCase. The example also retrieves the
Abaqus analysis case named “MyCase” in the collection and saves it in a
variable called ThatCase.

Set CaseColl = AnalysisDoc.ABQAnalysisModel.Cases
Set ThisCase = CaseColl.Item(5)
Set ThatCase = CaseColl.Item(“MyCase”)
Parameters:

i_index (cat_variant) –

Return type:

ABQAnalysisCase

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 the
collection of Abaqus analysis cases. This function works only in CAAV5 R13
onwards.

Parameters:

iIndex
The index or the name of the Abaqus analysis case to retrieve from
the collection of Abaqus analysis cases. If the index is a number, it specifies
the rank of the Abaqus analysis case in the collection. The index of the first
Abaqus analysis case in the collection is 1, and the index of the last analysis
case is Count. If the index is a string, it specifies the name you assigned to
the analysis case using the CATIABase::Name
property.
Parameters:

i_index (cat_variant) –

Return type:

None