Category Solids and parts, Object ProPart

Function ProPartDensitySet


Description
Sets the density of the part.
Replacement in Object TOOLKIT: wfcWPart::SetDensity
Synopsis
#include <ProPart.h>
ProErrorProPartDensitySet(
ProPart part
/* (In)
The part handle.
*/
double density
/* (In)
The part density (in the units of the model). If the part has been assigned a material, this will modify the density of the material.
*/
)
Returns
PRO_TK_NO_ERRORThe function retrieved the density.
PRO_TK_BAD_INPUTSOne or more input arguments is invalid.

Manual References:

  1. Core: Solids, Parts, and Materials: Density
  2. Core: Solids, Parts, and Materials: Density