Category View manager, Object ProSimprepdataitem

Function ProSimprepdataitemInit


Description
Initializes the specified item in the ProSimprepitem structure.

NOTE:

Operates on assemblies only, not parts.

Synopsis
#include <ProSimprepdata.h>
ProErrorProSimprepdataitemInit(
ProIdTable compidtab
/* (In)
The component path (for assembly simplified representations)
*/
int table_num
/* (In)
Size of the component path (for assembly simplified representations)
*/
int feat_id
/* (In)
Not supported in this release. For part simplified representations only. The feature identifier, if table_num is PRO_VALUE_UNUSED
*/
ProSimprepAction* p_action
/* (In)
The action structure
*/
ProSimprepitem* p_item
/* (Out)
The filled structure
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the structure.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. 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_userguide ( UgSimprepCreate.c )