Category Solids and parts, Object ProPart

Function ProPartMaterialsGet


Description
Gets the array of material names existing in the part.
Replacement in Object TOOLKIT: pfcPart::ListMaterials
Synopsis
#include <ProMaterial.h>
ProErrorProPartMaterialsGet(
ProSolid part
/* (In)
The part.
*/
ProName** p_matl_names_arr
/* (Out)
The material names array. You must preallocate this array using the function ProArrayAlloc().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the material names.
PRO_TK_BAD_INPUTSThe input argument is invalid.
See Also
ProArrayAlloc

Manual References:

  1. Core: Solids, Parts, and Materials: Accessing Material Data
  2. Core: Solids, Parts, and Materials: Accessing Material Data

Sample Code References:

  1. pt_examples ( TestPartMaterial.c )