Category Solids and parts, Object ProMaterial

Function ProMaterialPropertyDelete


Description
Remove a material property.
Replacement in Object TOOLKIT: pfcMaterial::RemoveProperty
Synopsis
#include <ProMaterial.h>
ProErrorProMaterialPropertyDelete(
ProMaterialItem* p_material
/* (In)
The material.
*/
ProMaterialPropertyType prop_type
/* (In)
The material property type.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments is invalid.
PRO_TK_E_NOT_FOUNDThis property does not exist on the material.
PRO_TK_BAD_CONTEXTThis property cannot be deleted on the material (because other properties assigned to the material already do not permit it).

Manual References:

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