Category Features, Object ProFeature

Function ProFeatureSuppress


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProFeatureWithoptionsSuppress
Description
Suppresses the specified features in the solid.

NOTE:

This function is deprecated. Use ProFeatureWithoptionsSuppress() with flags equal to PRO_REGEN_NO_FLAGS for equivalent behavior.

Replacement in Object TOOLKIT: pfcSolid::ExecuteFeatureOps
Synopsis
#include <ProFeature.h>
ProErrorProFeatureSuppress(
ProSolid solid
/* (In)
The part or assembly to which the features belong
*/
int* feat_ids
/* (In)
The array of feature identifiers to be suppressed
*/
int feat_count
/* (In)
The size of the feat_ids array
*/
ProFeatureDeleteOptions* suppress_opts
/* (In)
The array of options for suppressing features
*/
int num_opts
/* (In)
The size of the suppress_opts array
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully suppressed the features.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_NOT_VALIDOne or more input features is not permitted to be suppressed.
PRO_TK_GENERAL_ERRORThe suppress operation failed.

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: Manipulating Features
  4. Core: Features: Manipulating Features
  5. Core: Features: Manipulating Features based on Regeneration Flags