Category Solids and parts, Object ProSolid

Function ProSolidFeatstatusGet


Description
Returns a list of features of the specified solid and their statuses (PRO_FEAT_ACTIVE, PRO_FEAT_SUPPRESSED, or PRO_FEAT_PROG_SUPPRESSED).
Synopsis
#include <ProSolid.h>
ProErrorProSolidFeatstatusGet(
ProSolid solid
/* (In)
The solid
*/
int** p_feat_id_array
/* (Out)
An array of features (preallocated by a call to ProArrayAlloc()). If you reuse the array, new elements will be appended to the existing elements unless you reset the array size to 0 with ProArraySizeSet.
*/
ProFeatStatus** p_status_array
/* (Out)
An array of feature statuses (preallocated by a call to ProArrayAlloc()). If you reuse the array, new elements will be appended to the existing elements unless you reset the array size to 0 with ProArraySizeSet.
*/
int* p_num_features
/* (Out)
The size of the above arrays
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the features.
PRO_TK_BAD_INPUTSThe input argument is invalid.
See Also
ProArrayAlloc

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Core: Features: Visiting Features
  3. Core: Features: Manipulating Features
  4. Core: Solids, Parts, and Materials: Contents of a Solid
  5. Core: Solids, Parts, and Materials: Contents of a Solid

Sample Code References:

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