Category Parameters and relations, Object ProParameter

Function ProParameterValueGet


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProParameterValueWithUnitsGet
Description
Note: This function is deprecated. Use ProParameterValueWithUnitsGet(). Retrieves the value of the specified ProParameter.
Replacement in Object TOOLKIT: pfcBaseParameter::Value
Synopsis
#include <ProParameter.h>
ProErrorProParameterValueGet(
ProParameter* param
/* (In)
The handle to the parameter to query
*/
ProParamvalue* proval
/* (Out)
The value currently held in the ProParameter The value is assumed to be in the units of the owner model, regardless of the units of this parameter.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_E_NOT_FOUNDThe owner was not found.
PRO_TK_GENERAL_ERRORThe parameter was not found, or the function could not perform the action.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Parameters
  2. Production Applications: NC Process Manager: Example 3: To Update Feed and Spindle Speed

Sample Code References:

  1. pt_af_examples ( PTAFExampleUtils.c )
  2. pt_af_examples ( PTAFExampleUtils.c )
  3. pt_af_examples ( PTMfgTemplateBOM.c )
  4. pt_examples ( TestParams.c )
  5. pt_examples ( TestParams.c )
  6. pt_mfg_proctable ( PTMfgProcTable.c )
  7. pt_userguide ( UgModelCheck.c )
  8. pt_wc_server ( PTWCServerAddInstance.c )
  9. pt_wc_server ( PTWCServerAddInstance.c )