All Frameworks  Object Hierarchy  This Framework  Indexes   

Analyze (Object)

Represents the analysis object associated with a product.

Property Index

Mass
Returns the product mass value.
Volume
Returns the product volume value.
WetArea
Returns the product wet area (outer volume).

Method Index

GetGravityCenter
Returns the gravity center coordinates of product.
GetInertia
Returns the inertia matrix array of product.

Properties


o Property Mass() As (Read Only)
Returns the product mass value.
Example:
This example retrieves MassValue from
the Analyze object associated with myProduct:
 MassValue = myProduct.Analyze.Mass
 
o Property Volume() As (Read Only)
Returns the product volume value.
Example:
This example retrieves VolumeValue from
the Analyze object associated with myProduct:
 VolumeValue = myProduct.Analyze.Volume
 
o Property WetArea() As (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 from
the Analyze object associated with myProduct:
 WetAreaValue = myProduct.Analyze.WetArea
 

Methods


o Sub GetGravityCenter( oGravityCenterCoordinatesArray)
Returns the gravity center coordinates of product.
Parameters:
Coordinates
The array storing the three gravity center coordinates. This array must be previously initialized.
Example:
This example retrieves the gravity center coordinates in oGravityCenterCoordinatesArray from the Analyze object associated with myProduct:
 ' Coordinates array initialization
 Dim oGravityCenterCoordinatesArray ( 2 ) 
 ' Get value in array
 Myproduct.Analyze.GetGravityCenter oGravityCenterCoordinatesArray
 
o Sub GetInertia( oInertiaMatrixArray)
Returns the inertia matrix array of product.
Parameters:
oInertiaMatrixArray
The array storing successively the three columns of inertia matrix. This array must be previously initialized.
Example:
This example retrieves the inertia matrix components in oInertiaMatrixArray from the Analyze object associated with myProduct:
 ' Components array initialization
 Dim oInertiaMatrixArray ( 8 ) 
 ' Get value in array
 Myproduct.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
 

Copyright © 2003, Dassault Systèmes. All rights reserved.