Category Features, Object ProFeature

Function ProFeatureNumberGet


Description
Returns the regeneration sequence number of a feature.

NOTE:

Do not confuse this with a feature identifier. A feature identifier identifies a feature uniquely in a part or an assembly. The feature number tells you the sequential location of the feature in the feature list of the part or assembly.

Replacement in Object TOOLKIT: pfcFeature::Number
Synopsis
#include <ProFeature.h>
ProErrorProFeatureNumberGet(
ProFeature* p_feat_handle
/* (In)
The feature
*/
int* r_feat_num
/* (Out)
The sequence number of the supplied feature for regeneration
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe supplied feature is invalid.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Core: Features: Manipulating Features

Sample Code References:

  1. pt_examples ( TestFeats.c )
  2. pt_examples ( TestFeats.c )
  3. pt_examples ( TestFeats.c )
  4. pt_examples ( TestFeats.c )