Category Mechanica, Object ProMechmass

Function ProMechmassComponentdataGet


Description
Obtains the component mass data. Note: This function operates on masses of type PRO_MECH_MASS_COMP_AT_POINT and PRO_MECH_COMP_DISTRIBUTED.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMass.h>
ProErrorProMechmassComponentdataGet(
ProMechItem* item
/* (In)
The mass.
*/
ProMechComponentMassData* value
/* (Out)
The component mass data. Free this using ProMechcomponentmassdataFree().
*/
)
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.
PRO_TK_OUT_OF_MEMORYThere is not enough memory to perform the operation.
See Also
ProMechmassTypeGet

Manual References:

  1. Creo Simulate: Items: Creo Simulate Mass Items
  2. Creo Simulate: Items: Creo Simulate Mass Items