API Documentation
>
Parameters and relations
>
Object ProParameter
> Function ProParameterUnitsAssign
Function ProParameterUnitsAssign
Description
Sets the units assigned to a parameter.
Synopsis
#include <
ProParameter.h
>
ProError
ProParameterUnitsAssign
(
ProParameter
* param
/* (In)
The parameter, could not be NULL.
*/
ProUnititem
* units
/* (In)
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.
User Guide References
Accessing Parameters:ProParameterUnitsAssign
Was this helpful?
This site works best with JavaScript enabled