Category Features, Object ProFeature

Function ProFeatureChildrenGet


Description
Collects and returns all the children of the specified feature.
Replacement in Object TOOLKIT: pfcFeature::ListChildren
Synopsis
#include <ProFeature.h>
ProErrorProFeatureChildrenGet(
ProFeature* p_feat_handle
/* (In)
The feature handle.
*/
int** p_children
/* (Out)
An array of feature ids of children features. The function allocates the memory for this argument. Use the function ProArrayFree() to free the memory.
*/
int* p_count
/* (Out)
The size of the p_children array.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the children.
PRO_TK_BAD_INPUTSThe input argument is invalid.
See Also
ProArrayFree

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Core: Features: Feature Inquiry
  3. Core: Features: Feature Inquiry
  4. Core: Features: Manipulating Features

Sample Code References:

  1. pt_examples ( TestFeats.c )
  2. pt_examples ( UtilFeats.c )
  3. pt_userguide ( UgGeomChildDisp.c )