Category Features, Object ProFeature

Function ProFeatureNumSectionsGet


Description
Returns the number of sections owned by the specified feature.
Replacement in Object TOOLKIT: wfcWFeature::GetSections
Synopsis
#include <ProFeature.h>
ProErrorProFeatureNumSectionsGet(
ProFeature* feat_handle
/* (In)
The feature
*/
int* p_n_sections
/* (Out)
The number of sections in the feature
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Element Trees: Sections: Retrieving and Saving a Section
  3. Element Trees: Sections: Retrieving and Saving a Section

Sample Code References:

  1. pt_examples ( SketchFeatureCreate.c )
  2. pt_examples ( TestDtmPln.c )
  3. pt_examples ( UtilSect.c )