Category Parameters and relations, Object ProParameter

Function ProParameterInit


Description
Initializes a ProParameter data structure.
Replacement in Object TOOLKIT: pfcParameterOwner::GetParam
Synopsis
#include <ProParameter.h>
ProErrorProParameterInit(
ProModelitem* owner
/* (In)
The solid to which the ProParameter belongs
*/
ProName name
/* (In)
The name of the ProParameter
*/
ProParameter* param
/* (Out)
The initialized ProParameter handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the handle.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_BAD_CONTEXTThe owner is nonexistent.
PRO_TK_E_NOT_FOUNDThe parameter was not found within the owner.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Techniques of Conversion and Mixing
  2. Core: Parameters: Accessing Parameters
  3. Core: Parameters: Accessing Parameters
  4. Core: Parameters: Notification Functions

Sample Code References:

  1. pt_af_examples ( PTMfgTemplateBOM.c )
  2. pt_af_examples ( PTMfgTemplateBOM.c )
  3. pt_examples ( TestParams.c )
  4. pt_geardesign ( GearDesign.c )
  5. pt_geardesign ( GearDesignUI.c )
  6. pt_userguide ( UgModelCheck.c )
  7. pt_userguide ( UgModelCheck.c )
  8. pt_userguide ( UgParamFeatLabel.c )
  9. pt_userguide ( UgWeld.c )
  10. pt_userguide ( UgWeld.c )
  11. pt_wc_server ( PTWCServerAddInstance.c )
  12. pt_wc_server ( PTWCServerAddInstance.c )
  13. pt_wc_server ( PTWCServerAddInstance.c )