Category Solids and parts, Object ProMaterial

Function ProMaterialDataSet


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProMaterialPropertySet
Description
This function is deprecated. Use ProMaterialPropertySet() for the individual material properties that should be defined in this material.

Note:

If the material's type is not entirely isotropic, this function will create only those properties which are not dependent on type. It will not change the type of the material.

Sets the material properties.

Synopsis
#include <ProMaterial.h>
ProErrorProMaterialDataSet(
ProMaterial* p_material
/* (In)
The material handle
*/
ProMaterialdata* p_matl_data
/* (In)
The material properties to set. Note: the material values must all fall within the correct ranges. The values are assumed to be in the units of the owner model for the material, regardless of the units used by the property within this material.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the values.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.

Manual References:

  1. Core: Solids, Parts, and Materials: Material Types and Properties