Category Solids and parts, Object ProMaterial

Function ProMaterialCurrentGet


Description
Gets the current material setting for the part.
Replacement in Object TOOLKIT: pfcPart::CurrentMaterial
Synopsis
#include <ProMaterial.h>
ProErrorProMaterialCurrentGet(
ProSolid part
/* (In)
The part
*/
ProMaterial* p_material
/* (Out)
The handle to the current material
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_E_NOT_FOUNDNo material was set.

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 )
  2. pt_mfg_proctable ( PTMfgProcTable.c )