Category View manager, Object ProSimprepdata

Function ProSimprepdataDefltGet


Description
Retrieves the default action from the ProSimprepdata structure.

NOTE:

Operates on assemblies only, not parts.

Replacement in Object TOOLKIT: pfcSimpRep::GetInstructions
Synopsis
#include <ProSimprepdata.h>
ProErrorProSimprepdataDefltGet(
ProSimprepdata* p_data
/* (In)
The pointer to the ProSimprepdata structure
*/
ProSimprepActionType* p_action
/* (Out)
The pointer to the default action type (PRO_SIMPREP_INCLUDE or PRO_SIMPREP_EXCLUDE)
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Assembly: Simplified Representations: Extracting Information About Simplified Representations
  2. Assembly: Simplified Representations: Extracting Information About Simplified Representations

Sample Code References:

  1. pt_examples ( TestSimpRep.c )
  2. pt_examples ( TestSimpRep.c )
  3. pt_userguide ( UgSimprepInfo.c )