pycatia.smt_interfaces.part_comps¶
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.smt_interfaces.part_comps.PartComps(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionPartCompsInterface to access a CATIAPartComps- add(i_product1: Product, i_product2: Product, i_comp_accuracy: float, i_disp_accuracy: float, i_computation_type: int) PartComp ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add(Product iProduct1,Product iProduct2,double iCompAccuracy,double iDispAccuracy,long iComputationType) As PartCompComputes a new comparison between products. Documents created are added tothe documents in the session. Document containing the added material is calledAddedMaterial.3dmap. Document containing the removed material is calledRemovedMaterial.3dmap. Document containing the changed material is calledChangedMaterial.3dmap. If the document are meant to be kept they must berenamed, otherwise they should be deleted. Document lifecyle must be managedeither with SaveAs or Close.Parameters:iCompAccuracyAccuracy of the 3dmaps for the computation.iDispAccuracyAccuracy of the displayed 3dmaps.iComputationType0 : Added with position taken into account1 : Removed with position2 : Added + Removed with positions3 : Added without position4 : Removed without position5 : Added + Removed without positionsReturns:Created PartCompExample:The following example computes a comparison between twoproducts:Dim newPartComp As PartCompSet newPartComp = PartComps.Add(product1, product2, 5.0, 5.0, 2)Dim documents1 As DocumentsSet documents1 = CATIA.DocumentsDim document1 As DocumentSet document1 = documents1.Item(“AddedMaterial.3dmap”)
- property added_material_percentage: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AddedMaterialPercentage() As double (Read Only)Returns the added material percentage.
- Return type:
float
- property added_material_volume: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AddedMaterialVolume() As double (Read Only)Returns the added material volume.
- Return type:
float
- property removed_material_percentage: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RemovedMaterialPercentage() As double (Read Only)Returns the removed material percentage.
- Return type:
float
- property removed_material_volume: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RemovedMaterialVolume() As double (Read Only)Returns the removed material volume.
- Return type:
float