Category Parameters and relations, Object ProParameter

Function ProParameterValueReset


Description
Resets the value of the ProParameter to the value it had before it was last set.
Replacement in Object TOOLKIT: pfcBaseParameter::ResetFromBackup
Synopsis
#include <ProParameter.h>
ProErrorProParameterValueReset(
ProParameter* param
/* (In)
The handle of the parameter to reset
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully reset the value.
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. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Parameters: Accessing Parameters
  3. Core: Parameters: Accessing Parameters

Sample Code References:

  1. pt_examples ( TestParams.c )