Category Features, Object ProLocal

Function ProLocalGroupCreate


Description
Creates a local group out of the specified set of features.

NOTE:

The supplied features should represent a contiguous set of features in the specified part or assembly.

Replacement in Object TOOLKIT: pfcSolid::CreateLocalGroup
Synopsis
#include <ProGroup.h>
ProErrorProLocalGroupCreate(
ProSolid solid
/* (In)
The part or assembly.
*/
int* feat_ids
/* (In)
The ProArray of feature identifiers to be grouped. They must be a contiguous set of features.
*/
int n_feats
/* (In)
The number of features to be grouped.
*/
ProName local_gp_name
/* (In)
The name to be assigned to the created local group.
*/
ProGroup* r_group
/* (Out)
The local group object.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the requested local group.
PRO_TK_BAD_INPUTSThe specified data is invalid.

Manual References:

  1. Core: Features: Creating Local Groups
  2. Core: Features: Creating Groups

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( TestFeats.c )
  3. pt_geardesign ( GearDesign.c )