| Description | |||||||||||
| Creates a material of the specified name in the part. | |||||||||||
| Replacement in Object TOOLKIT: | pfcPart::CreateMaterial | ||||||||||
| Synopsis | |||||||||||
| #include <ProMaterial.h> | |||||||||||
| ProError | ProMaterialCreate | ( | |||||||||
| ProSolid part | |||||||||||
| /* (In) | |||||||||||
| The part | |||||||||||
| */ | |||||||||||
| ProName matl_name | |||||||||||
| /* (In) | |||||||||||
| The material name | |||||||||||
| */ | |||||||||||
| ProMaterialdata* p_matl_data | |||||||||||
| /* (In) | |||||||||||
| The material properties to set. This argument is deprecated. Pass NULL to create an empty material item whose properties can be set by ProMaterialPropertySet. | |||||||||||
| */ | |||||||||||
| ProMaterial* p_material | |||||||||||
| /* (Out) | |||||||||||
| The resultant material handle | |||||||||||
| */ | |||||||||||
| ) | |||||||||||
| Returns | |||||||||||
|
|||||||||||
| See Also | |||||||||||
| ProModelitemByNameInit | |||||||||||
| ProMaterialPropertySet | |||||||||||