Category
Parameters and relations
, Object
ProParameter
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.
Manual References:
Core: Parameters: Accessing Parameters
Core: Parameters: Accessing Parameters