Category Features, Object ProFeature

Function ProFeatureParentsGet


Description
Collects and returns all the parents of the specified feature.
Replacement in Object TOOLKIT: pfcFeature::ListParents
Synopsis
#include <ProFeature.h>
ProErrorProFeatureParentsGet(
ProFeature* p_feat_handle
/* (In)
The feature handle.
*/
int** p_parents
/* (Out)
An array of feature ids of parent 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_parents array.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the parents.
PRO_TK_BAD_INPUTSThe input argument is invalid.
See Also
ProArrayFree

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  3. Core: Features: Feature Inquiry
  4. Core: Features: Feature Inquiry
  5. Core: Features: Manipulating Features
  6. Fundamentals: Objects and Actions

Sample Code References:

  1. pt_examples ( UtilFeats.c )