Function ProMaterialCreate
Description
Creates a material of the specified name in the part.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMaterial.h>
ProMaterialCreate
(
/* (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
The function successfully created the material in the part.
Model is in read-only state.
The material name already exists.
One or more of the input arguments are invalid.
See Also
Sample Code References
User Guide References
これは役に立ちましたか?