pycatia.analysis_interfaces.analysis_images¶
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_images.AnalysisImages(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionAnalysisImagesThe collection of analysis images.- add(i_image_name: str, i_hide_existing_images: cat_variant, i_show_mesh: cat_variant, i_duplicate: cat_variant) AnalysisImage ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add(CATBSTR iImageName,CATVariant iHideExistingImages,CATVariant iShowMesh,CATVariant iDuplicate) As AnalysisImageCreates a new image and adds it to the analysis imagecollection.Parameters:iImageNameThe name of the image to create.iHideExistingImagesTo deactivate or not all the activated images before create the newimage.iShowMeshTo show or not the mesh image.iDuplicateTo duplicate or not the new image, if same image already exists incollection of images.Returns:The created Analysis ImageExample:This example create ThisAnalysisImage in the analysisImagesanalysisimages collection. The image to create is supposed to be a meshdeformed image.Dim ThisAnalysisImage As AnalysisImageSet ThisAnalysisImage = analysisImages.Add(“Mesh_Deformed”, True, False, False)
- Parameters:
i_image_name (str) –
i_hide_existing_images (cat_variant) –
i_show_mesh (cat_variant) –
i_duplicate (cat_variant) –
- Return type:
- item(i_index: cat_variant) AnalysisImage ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As AnalysisImageReturns an analysis image using its index or its name from the analysisimages collection.Parameters:iIndexThe index or the name of the analysis image to retrieve from thecollection of analysis images. This index is the rank of the analysis image inthe collection. The index of the first analysis image in the collection is 1,and the index of the last analysis image is Count.Returns:The retrieved analysis imageExample:This example retrieves in ThisAnalysisImage the third analysisimage.Dim ThisAnalysisImage As AnalysisImageSet ThisAnalysisImage = analysisImages.Item(3)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove_image(i_image_identifier: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveImage(CATVariant iImageIdentifier)Deletes the Analysis Image from the analysis images collection of theAnalysis Set.Parameters:iImageIdentifierThe index or the name of the analysis image to delete from theAnalysis Set. Note: The index given is the position of the image in theAnalysis Set. Note: The name given is the string got from analysisImage.Name Ifthe index or the name specified is not present in the Analysis Set, this methodFAILS. The index of the first analysis image in the collection is 1, and theindex of the last analysis image is Count.Example:Example 1In this example analysisImages1 is the Analysis Set and analysisImage1is the image present in it.imageName = analysisImage1.NameanalysisImages1.RemoveImage(imageName)Example 2analysisImages1.RemoveImage(4)In this example 4 is the index of the Image to be deleted in AnalysisSet: analysisImages1
- Parameters:
i_image_identifier (cat_variant) –
- Return type:
None