Category Solids and parts, Object ProSolid

Function ProSolidBodyMaterialSet


Description
Assigns material to body
Synopsis
#include <ProMaterial.h>
ProErrorProSolidBodyMaterialSet(
ProSolidBody* body
/* (In)
body
*/
ProMaterial* mtl
/* (In)
material
*/
)
Returns
PRO_TK_NO_ERROR- Function is successful. PRO_TK_BAD_INPUTS- invalid inputs.
PRO_TK_E_NOT_FOUNDMaterial is not found in solid.

Manual References:

  1. Core: Solids, Parts, and Materials: Material Types and Properties
  2. Core: Solids, Parts, and Materials: Material Types and Properties
  3. Migrating to the Multibody Environment: Overview