Category Features, Object ProFeature

Function ProFeatureWithoptionsSuppress


Description
Suppresses the specified features in the solid.

NOTE:Features of non-native models may or may not get suppressed.

Synopsis
#include <ProFeature.h>
ProErrorProFeatureWithoptionsSuppress(
ProSolid solid
/* (In)
The part or assembly to which the features belong
*/
int* feat_list
/* (In)
The ProArray of feature identifiers to be suppressed
*/
ProFeatureDeleteOptions* opts
/* (In)
The ProArray of options for suppressing features
*/
int flags
/* (In)
The regeneration control flags. Pass as bitmask containing one or more of the bit flags PRO_REGEN* defined in ProSolid.h
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully suppressed the features.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_BAD_CONTEXTInvalid regeneration flag(s) for this function.
PRO_TK_NOT_VALIDOne or more input features is not permitted to be suppressed.
PRO_TK_GENERAL_ERRORThe suppress operation failed.
See Also
ProArrayAlloc
ProArrayObjectAdd
ProArrayFree

Manual References:

  1. Core: Features: Manipulating Features based on Regeneration Flags

Sample Code References:

  1. pt_examples ( TestFeats.c )