Category Mechanica, Object ProMechmassprops

Function ProMechmasspropsMomentsGet


DEPRECATED: Since Creo 1
SUPERSEDED BY: ProMechMasspropsMatrixGet
Description
Note: This function is deprecated. Use ProMechMasspropsMatrixGet() instead.

Obtains the moments of intertia of the mass property object.

Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMassProps.h>
ProErrorProMechmasspropsMomentsGet(
ProMechItem* item
/* (In)
The mass property.
*/
ProMechMassMoments moments
/* (Out)
"The moments of intertia (Ixx, Ixy, Ixz, Iyy, Iyz, Izz)."
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error is encountered.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Creo Simulate: Items: Creo Simulate Mass Properties
  3. Creo Simulate: Items: Creo Simulate Mass Properties