Library | Package Java Toolkit

Class FeatSuppressOrDeleteOption

package com.ptc.wfc.wfcFeatureInstructions;

public class FeatSuppressOrDeleteOption
  implements jxenum



Description

Various options used while deleting or suppressing the feature



Field Summary
static final int_FEAT_SUPP_OR_DEL_NO_OPTS
    Integer value of enum value "FEAT_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.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_NO_OPTS
    Object value of enum value "FEAT_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.
static final int_FEAT_SUPP_OR_DEL_CLIP
    Integer value of enum value "FEAT_SUPP_OR_DEL_CLIP"
    Delete or Suppress features along with deleting or suppressing their dependent children features.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_CLIP
    Object value of enum value "FEAT_SUPP_OR_DEL_CLIP"
    Delete or Suppress features along with deleting or suppressing their dependent children features.
static final int_FEAT_SUPP_OR_DEL_FIX
    Integer value of enum value "FEAT_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.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_FIX
    Object value of enum value "FEAT_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.
static final int_FEAT_SUPP_OR_DEL_RELATION_DELETE
    Integer value of enum value "FEAT_SUPP_OR_DEL_RELATION_DELETE"
    Delete relations with obsolete dimensions.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_RELATION_DELETE
    Object value of enum value "FEAT_SUPP_OR_DEL_RELATION_DELETE"
    Delete relations with obsolete dimensions.
static final int_FEAT_SUPP_OR_DEL_RELATION_COMMENT
    Integer value of enum value "FEAT_SUPP_OR_DEL_RELATION_COMMENT"
    Change relations with obsolete dimensions into comments.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_RELATION_COMMENT
    Object value of enum value "FEAT_SUPP_OR_DEL_RELATION_COMMENT"
    Change relations with obsolete dimensions into comments.
static final int_FEAT_SUPP_OR_DEL_CLIP_ALL
    Integer value of enum value "FEAT_SUPP_OR_DEL_CLIP_ALL"
    Delete or Suppress features along with deleting or suppressing all the following features.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_CLIP_ALL
    Object value of enum value "FEAT_SUPP_OR_DEL_CLIP_ALL"
    Delete or Suppress features along with deleting or suppressing all the following features.
static final int_FEAT_SUPP_OR_DEL_INDIV_GP_MEMBERS
    Integer value of enum value "FEAT_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.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_INDIV_GP_MEMBERS
    Object value of enum value "FEAT_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.
static final int_FEAT_SUPP_OR_DEL_CLIP_INDIV_GP_MEMBERS
    Integer value of enum value "FEAT_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.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_CLIP_INDIV_GP_MEMBERS
    Object value of enum value "FEAT_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.
static final int_FEAT_SUPP_OR_DEL_KEEP_EMBED_DATUMS
    Integer value of enum value "FEAT_SUPP_OR_DEL_KEEP_EMBED_DATUMS"
     This option will cause Creo Parametric to keep the embedded datums stored in a feature when using WSolid.DeleteFeatures(intseq, FeatSuppressOrDeleteOptions, /*optional*/ WRegenInstructions) to delete the feature.
If not used, embedded datums will be deleted along with the parent feature.
static final FeatSuppressOrDeleteOptionFEAT_SUPP_OR_DEL_KEEP_EMBED_DATUMS
    Object value of enum value "FEAT_SUPP_OR_DEL_KEEP_EMBED_DATUMS"
     This option will cause Creo Parametric to keep the embedded datums stored in a feature when using WSolid.DeleteFeatures(intseq, FeatSuppressOrDeleteOptions, /*optional*/ WRegenInstructions) to delete the feature.
If not used, embedded datums will be deleted along with the parent feature.
static final int_FeatSuppressOrDeleteOption_null
    Enum null value.

Method Summary
static FeatSuppressOrDeleteOptionFromInt (int value)
    Creates enum object from an integer.
static FeatSuppressOrDeleteOptionFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static FeatSuppressOrDeleteOptionFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static FeatSuppressOrDeleteOptionFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.