Category Solids and parts, Object ProMaterialfile

Function ProMaterialfileWrite


Description
Writes the specified part material to a file.
Replacement in Object TOOLKIT: pfcMaterial::Save
Synopsis
#include <ProMaterial.h>
ProErrorProMaterialfileWrite(
ProMaterial* p_material
/* (In)
The material handle
*/
ProFileName out_matl_file
/* (In)
The output material file name
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully wrote out a material file for the specified material.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_BAD_CONTEXTThe function is not available in Design Test Mode.

Manual References:

  1. Core: Solids, Parts, and Materials: Material Input and Output
  2. Core: Solids, Parts, and Materials: Material Input and Output

Sample Code References:

  1. pt_examples ( TestPartMaterial.c )