Category View manager, Object ProSimprep

Function ProSimprepActionInit


Description
Fills the ProSimprepAction data structure.

NOTE:

Operates on assemblies only, not parts.

Replacement in Object TOOLKIT: pfcSimpRep::SetInstructions
Synopsis
#include <ProSimprepdata.h>
ProErrorProSimprepActionInit(
ProSimprepActionType action_type
/* (In)
The type of action
*/
ProSubstitution* p_subst_data
/* (In)
The substitution data (if the action_type is PRO_SIMPREP_SUBSTITUTE)
*/
ProSimprepAction* p_action
/* (Out)
The filled action structure
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully filled the data structure.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Assembly: Simplified Representations: Modifying Simplified Representations
  2. Assembly: Simplified Representations: Adding Items to and Deleting Items from a Simplified Representation

Sample Code References:

  1. pt_examples ( TestSimpRep.c )
  2. pt_examples ( TestSimpRep.c )
  3. pt_examples ( TestSimpRep.c )
  4. pt_examples ( TestSimpRep.c )
  5. pt_userguide ( UgSimprepCreate.c )