Library | File

Enum wfcFeatSuppressOrDeleteOption

# include <wfcFeatureInstructions.h>

enum wfcFeatSuppressOrDeleteOption
{
    wfcFEAT_SUPP_OR_DEL_NO_OPTS,
    wfcFEAT_SUPP_OR_DEL_CLIP,
    wfcFEAT_SUPP_OR_DEL_FIX,
    wfcFEAT_SUPP_OR_DEL_RELATION_DELETE,
    wfcFEAT_SUPP_OR_DEL_RELATION_COMMENT,
    wfcFEAT_SUPP_OR_DEL_CLIP_ALL,
    wfcFEAT_SUPP_OR_DEL_INDIV_GP_MEMBERS,
    wfcFEAT_SUPP_OR_DEL_CLIP_INDIV_GP_MEMBERS,
    wfcFEAT_SUPP_OR_DEL_KEEP_EMBED_DATUMS,
    wfcFeatSuppressOrDeleteOption_nil
};



Description

Various options used while deleting or suppressing the feature




Values

wfcFEAT_SUPP_OR_DEL_NO_OPTS
Delete or Suppress features without deleting or suppressing their dependent children features.
Please note that this may result in regeneration failures.
PTC recommends using the option FEAT_SUPP_OR_DEL_FIX or one of the CLIP options unless your application deals with the feature's dependent children in another way before regeneration takes place.
wfcFEAT_SUPP_OR_DEL_CLIP
Delete or Suppress features along with deleting or suppressing their dependent children features.
wfcFEAT_SUPP_OR_DEL_FIX
Delete or Suppress features without deleting/suppressing their dependent children features.
The fix model user interface will be prompted in case of regeneration failure.
wfcFEAT_SUPP_OR_DEL_RELATION_DELETE
Delete relations with obsolete dimensions.
wfcFEAT_SUPP_OR_DEL_RELATION_COMMENT
Change relations with obsolete dimensions into comments.
wfcFEAT_SUPP_OR_DEL_CLIP_ALL
Delete or Suppress features along with deleting or suppressing all the following features.
wfcFEAT_SUPP_OR_DEL_INDIV_GP_MEMBERS
If this option is included,features to be deleted or suppressed, if they are members of groups, will be individually deleted out of the groups they belong to.
If this option is not included, the entire group containing the feature will be deleted.
wfcFEAT_SUPP_OR_DEL_CLIP_INDIV_GP_MEMBERS
If this option is included children of features to be deleted or suppressed, if they are members of groups, will be individually deleted out of the groups they belong to.
If this option is not included, the entire group containing the child will be deleted.
wfcFEAT_SUPP_OR_DEL_KEEP_EMBED_DATUMS
This option will cause Creo Parametric to keep the embedded datums stored in a feature when using wfcWSolid::DeleteFeatures(xintsequence_ptr, wfcFeatSuppressOrDeleteOptions_ptr, optional wfcWRegenInstructions_ptr) to delete the feature.
If not used, embedded datums will be deleted along with the parent feature.
wfcFeatSuppressOrDeleteOption_nil
Enum null value.