Documentación de la API > Solids and parts > Object ProPart > Function ProPartMaterialNameGet
Function ProPartMaterialNameGet
DEPRECATED:
Since Wildfire 5.0
SUPERSEDED BY:
Description
This function is deprecated. Use ProMaterialCurrentGet().
Retrieves the material assigned to the specified part.
Synopsis
#include <ProPart.h>
ProPartMaterialNameGet
(
ProPart part
/* (In)
The part.
*/
ProName material_name
/* (Out)
The name of the material. If you have not assigned a material, this will be empty.
*/
)
Returns
The function successfully retrieved the information.
Either the part or material name is NULL.
The model handle you passed to the function is not a part.
No material was set.
Sample Code References
User Guide References
¿Fue esto útil?