Documentación de la API > Solids and parts > Object ProPart > Function ProPartDensitySet
Function ProPartDensitySet
DEPRECATED:
Since Creo 7.0.0.0
Description
Sets the density of the part.
NOTE: This function is deprecated. Please use ProMaterialCurrentSet instead for set current material with density. Please use ProMaterialPropertySet with PRO_MATPROP_MASS_DENSITY to change density in the material.
Replacement in Object TOOLKIT:
Synopsis
#include <ProPart.h>
ProPartDensitySet
(
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
The function retrieved the density.
Model is in read-only state.
One or more input arguments is invalid.
User Guide References
¿Fue esto útil?