Category Features, Object ProFeature

Function ProFeatureSectionCopy


Description
Returns the copy of the requested section of the feature.
Replacement in Object TOOLKIT: wfcWFeature::GetSections
Synopsis
#include <ProFeature.h>
ProErrorProFeatureSectionCopy(
ProFeature* feat_handle
/* (In)
The feature.
*/
int section_number
/* (In)
The section number. The valid values are 0 to (n-1), where n is the number of sections given by the function ProFeatureNumSectionsGet().
*/
ProSection* p_section
/* (Out)
The copy of the requested feature section. The function allocates the memory for this object. Use the function ProSectionFree() to free the object.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_UNAV_SECThe section is not available for use.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
See Also
ProFeatureNumSectionsGet
ProSectionFree

Manual References:

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

Sample Code References:

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