pycatia.product_structure_interfaces.analyze¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.product_structure_interfaces.analyze.Analyze(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAnalyzeRepresents the analysis object associated with a product.- get_gravity_center()¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetGravityCenter(CATSafeArrayVariantoGravityCenterCoordinatesArray)Returns the gravity center coordinates of product.Parameters:CoordinatesThe array storing the three gravity center coordinates. This arraymust be previously initialized.Example:This example retrieves the gravity center coordinatesinoGravityCenterCoordinatesArray fromthe Analyze object associated with myProduct:‘ Coordinates array initializationDim oGravityCenterCoordinatesArray ( 2 )‘ Get value in arrayMyproduct.Analyze.GetGravityCenteroGravityCenterCoordinatesArray
- Returns:
None
- get_inertia()¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetInertia(CATSafeArrayVariant oInertiaMatrixArray)Returns the inertia matrix array of product.Parameters:oInertiaMatrixArrayThe array storing successively the three columns of inertia matrix.This array must be previously initialized.Example:This example retrieves the inertia matrix componentsinoInertiaMatrixArray fromthe Analyze object associated with myProduct:‘ Components array initializationDim oInertiaMatrixArray ( 8 )‘ Get value in arrayMyproduct.Analyze.GetInertia oInertiaMatrixArray‘ oInertiaMatrixArray ( 0 ) is the Ixx component‘ oInertiaMatrixArray ( 1 ) is the Ixy component‘ oInertiaMatrixArray ( 2 ) is the Ixz component‘ oInertiaMatrixArray ( 3 ) is the Iyx component‘ oInertiaMatrixArray ( 4 ) is the Iyy component‘ oInertiaMatrixArray ( 5 ) is the Iyz component‘ oInertiaMatrixArray ( 6 ) is the Izx component‘ oInertiaMatrixArray ( 7 ) is the Izy component‘ oInertiaMatrixArray ( 8 ) is the Izz component
- Returns:
tuple
- property mass: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Mass() As double (Read Only)Returns the product mass value.Example:This example retrieves MassValue fromthe Analyze object associated with myProduct:MassValue = myProduct.Analyze.Mass
- Return type:
float
- property volume: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Volume() As double (Read Only)Returns the product volume value.Example:This example retrieves VolumeValue fromthe Analyze object associated with myProduct:VolumeValue = myProduct.Analyze.Volume
- Return type:
float
- property wet_area: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property WetArea() As double (Read Only)Returns the product wet area (outer volume).Note:This method uses mm2 instead of default Catia V5 unit.Example:This example retrieves WetAreaValue fromthe Analyze object associated with myProduct:WetAreaValue = myProduct.Analyze.WetArea
- Return type:
float