Category Parameters and relations, Object ProParameter

Function ProParameterUnitsGet


Description
Gets the units assigned to a parameter.
Replacement in Object TOOLKIT: pfcParameter::Units
Synopsis
#include <ProParameter.h>
ProErrorProParameterUnitsGet(
ProParameter* param
/* (In)
The parameter.
*/
ProUnititem* units
/* (Out)
The units.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_E_NOT_FOUNDThe parameter is unitless.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Core: Parameters: Accessing Parameters
  3. Core: Parameters: Accessing Parameters

Sample Code References:

  1. pt_udf_examples ( PTUDFExParamInfo.c )