Documentación de la API
>
Parameters and relations
>
Object ProParameter
> Function ProParameterUnitsGet
Function ProParameterUnitsGet
Description
Gets the units assigned to a parameter.
Replacement in Object TOOLKIT:
pfcParameter::Units
Synopsis
#include <
ProParameter.h
>
ProError
ProParameterUnitsGet
(
ProParameter
* param
/* (In)
The parameter.
*/
ProUnititem
* units
/* (Out)
The units.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more arguments was invalid.
PRO_TK_E_NOT_FOUND
The parameter is unitless.
Sample Code References
pt_udf_examples ( PTUDFExParamInfo.c )
User Guide References
Accessing Parameters:ProParameterUnitsGet
Read Functions Supporting Inheritance Features:ProParameterUnitsGet
¿Fue esto útil?
Este sitio funciona mejor con JavaScript activado