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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionAnalysisModelsThe collection of analysis models making an analysis document.As of today this collection is made of a single analysismodel.- 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 AnalysisModelReturns an analysis model using its index or its name from the analysismodel collection.Parameters:iIndexThe index or the name of the analysis model to retrieve from thecollection of analysis model. As a numerics, this index is the rank of theanalysis model in the collection. The index of the first analysis model in thecollection is 1, and the index of the last analysis model is Count. As astring, it is the name you assigned to the analysis model using theAnyObject.Name property.Returns:The retrieved analysis modelExample:The following example retrieves the first analysis model in theanalysis model collection of the AnalysisManagerobject.Dim AnalysisDocument As DocumentSet AnalysisDocument = CATIA.ActiveDocumentDim RootAnalysis As AnalysisManagerSet RootAnalysis = AnalysisDocument.AnalysisDim analysisModels As AnalysisModelsSet analysisModels = RootAnalysis.AnalysisModelsDim analysisModel As AnalysisModelSet AnalysisModel = analysisModel.Item(1)
- Parameters:
i_index (cat_variant) –
- Return type: