Category Features, Object ProFeature

Function ProFeatureDelete


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProFeatureWithoptionsDelete
Description
Deletes the specified features from the solid.

NOTE:

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

Replacement in Object TOOLKIT: pfcSolid::ExecuteFeatureOps
Synopsis
#include <ProFeature.h>
ProErrorProFeatureDelete(
ProSolid solid
/* (In)
The part or assembly to which the features belong
*/
int* feat_ids
/* (In)
An array of feature identifiers to be deleted
*/
int feat_count
/* (In)
The size of the feat_ids array
*/
ProFeatureDeleteOptions* delete_opts
/* (In)
An array of options for deleting features
*/
int num_opts
/* (In)
The size of the delete_opts array
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully deleted the features.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORThe delete operation failed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Basic Assembly Access: Deleting Components
  3. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  4. Core: Features: Manipulating Features
  5. Core: Features: Manipulating Features
  6. Core: Features: Manipulating Features based on Regeneration Flags
  7. Fundamentals: Objects and Actions

Sample Code References:

  1. pt_geardesign ( GearDesign.c )