Category Mechanica, Object ProMechmass

Function ProMechmassDistributionSet


Description
Sets the mass distribution type. Setting this type is necessary for creation of mass object.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMass.h>
ProErrorProMechmassDistributionSet(
ProMechItem* item
/* (In)
The mass.
*/
ProMechMassDistribution type
/* (In)
The distribution type. For point references, this type should be set to PRO_MECH_MASS_DISTR_AT_POINT.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_CANT_ACCESSCannot access the object in the current mode.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_CANT_MODIFYCannot modify the item.
PRO_TK_GENERAL_ERRORA general error is encountered.

Manual References:

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