Category Features, Object ProFeature

Function ProFeatureWithoptionsDelete


Description
Deletes the specified features from the solid.

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

Synopsis
#include <ProFeature.h>
ProErrorProFeatureWithoptionsDelete(
ProSolid solid
/* (In)
The part or assembly to which the features belong
*/
int* feat_list
/* (In)
A ProArray of feature identifiers to be deleted
*/
ProFeatureDeleteOptions* opts
/* (In)
A ProArray of options for deleting 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 deleted 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_GENERAL_ERRORThe delete 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 )
  2. pt_examples ( TestClCmd.c )
  3. pt_examples ( TestMfgFixt.c )
  4. pt_userguide ( UgXsecMassProps.c )