Documentación de la API > Solids and parts > Object ProMaterial > Function ProMaterialPropertyGet
Function ProMaterialPropertyGet
Description
Get the value and units for the material property
Replacement in Object TOOLKIT:
Synopsis
#include <ProMaterial.h>
ProMaterialPropertyGet
(
ProMaterialItem* p_material
/* (In)
The material.
*/
/* (In)
The material property type.
*/
ProParamvalue* p_value
/* (Out)
The material property value.
*/
ProUnititem* p_units
/* (Out)
The units for the value returned.
*/
)
Returns
The function succeeded.
One or more arguments is invalid.
The material does not have this property assigned.
An error occurred during obtaining of the property.
Sample Code References
User Guide References
¿Fue esto útil?