pycatia.analysis_interfaces.analysis_models

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_models.AnalysisModels(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
AnalysisModels

The collection of analysis models making an analysis document.
As of today this collection is made of a single analysis
model.
item(i_index: cat_variant) AnalysisModel

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func Item(CATVariant iIndex) As AnalysisModel

Returns an analysis model using its index or its name from the analysis
model collection.

Parameters:

iIndex
The index or the name of the analysis model to retrieve from the
collection of analysis model. As a numerics, this index is the rank of the
analysis model in the collection. The index of the first analysis model in the
collection is 1, and the index of the last analysis model is Count. As a
string, it is the name you assigned to the analysis model using the


AnyObject.Name property.
Returns:
The retrieved analysis model
Example:
The following example retrieves the first analysis model in the
analysis model collection of the AnalysisManager
object.

Dim AnalysisDocument As Document
Set AnalysisDocument = CATIA.ActiveDocument
Dim RootAnalysis As AnalysisManager
Set RootAnalysis = AnalysisDocument.Analysis
Dim analysisModels As AnalysisModels
Set analysisModels = RootAnalysis.AnalysisModels
Dim analysisModel As AnalysisModel
Set AnalysisModel = analysisModel.Item(1)
Parameters:

i_index (cat_variant) –

Return type:

AnalysisModel