Library | Module

Class pfcFeature



Description

This class defines a feature.
See Also:
pfcSolid.GetFeatureById(), pfcSolid.GetFeatureByName(), pfcSolid.ListFeaturesByType()
Direct Parent Classes:
pfcModelItem
Direct Known Subclasses:
pfcComponentFeat, pfcDatumAxisFeat, pfcCurveFeat, pfcCoordSysFeat, pfcDatumPlaneFeat, pfcRoundFeat, pfcDatumPointFeat



Property Summary

/* readonly */ stringFeatSubType
The feature subtype, i.e. "Extrude" or "Revolve" for a protrusion.
/* readonly */ pfcFeatureTypeFeatType
The feature type.
/* readonly */ stringFeatTypeName
The feature type expressed as a string.
/* readonly */  /* optional */ pfcFeatureGroupGroup
The group, if the feature is a member of a group. Otherwise this will be null.
/* readonly */  /* optional */ pfcFeatureGroupGroupDirectHeader
 
/* readonly */  /* optional */ pfcGroupPatternGroupPattern
The group pattern, if the feature is a member of a group pattern. Otherwise this will be null.
/* readonly */ pfcGroupPatternStatusGroupPatternStatus
The group pattern status.
/* readonly */ pfcGroupStatusGroupStatus
The group status.
/* readonly */ booleanIsEmbedded
A Boolean flag that specifies whether the feature is an embedded datum or not.
/* readonly */ booleanIsGroupMember
Retrieves the group status of the specified feature.
/* readonly */ booleanIsReadonly
A Boolean flag that specifies whether the feature is read only
/* readonly */ booleanIsVisible
A Boolean flag that specifies whether the feature is visible.
/* readonly */  /* optional */ numberNumber
The regeneration number of the feature. If the feature is suppressed or unregenerated, this will be null.
/* readonly */  /* optional */ pfcFeaturePatternPattern
The pattern, if the feature is a member of a pattern. Otherwise this will be null. This function should only be used for simple patttern and use GetPatternByType function for nested pattern.
/* readonly */ pfcPatternStatusPatternStatus
The pattern status.
/* readonly */ pfcFeatureStatusStatus
The feature status.
/* readonly */ stringVersionStamp
The version stamp



Method Summary

pfcDeleteOperationCreateDeleteOp ()
Creates a feature delete operation.
pfcReorderAfterOperationCreateReorderAfterOp (pfcFeature AfterFeat)
Creates an operation that will reorder the features after the specified feature.
pfcReorderBeforeOperationCreateReorderBeforeOp (pfcFeature BeforeFeat)
Creates an operation that will reorder the features before the specified feature.
pfcResumeOperationCreateResumeOp ()
Creates a new resume operation object.
pfcSuppressOperationCreateSuppressOp ()
Creates a new suppress operation object.
/* optional */ pfcFeaturePatternGetPatternByType (pfcPatternType Type)
 
pfcFeaturesListChildren ()
Lists the children of the feature.
pfcFeaturesListParents ()
Lists the parents of the feature.
/* optional */ pfcModelItemsListSubItems ( /* optional */ pfcModelItemType Type)
Lists the component model items that make up the feature.



Property Detail


/* readonly */ stringFeatSubType

The feature subtype, i.e. "Extrude" or "Revolve" for a protrusion.




/* readonly */ pfcFeatureTypeFeatType

The feature type.




/* readonly */ stringFeatTypeName

The feature type expressed as a string.




/* readonly */  /* optional */ pfcFeatureGroupGroup

The group, if the feature is a member of a group. Otherwise this will be null.




/* readonly */  /* optional */ pfcFeatureGroupGroupDirectHeader

 




/* readonly */  /* optional */ pfcGroupPatternGroupPattern

The group pattern, if the feature is a member of a group pattern. Otherwise this will be null.




/* readonly */ pfcGroupPatternStatusGroupPatternStatus

The group pattern status.




/* readonly */ pfcGroupStatusGroupStatus

The group status.




/* readonly */ booleanIsEmbedded

A Boolean flag that specifies whether the feature is an embedded datum or not.




/* readonly */ booleanIsGroupMember

Retrieves the group status of the specified feature.




/* readonly */ booleanIsReadonly

A Boolean flag that specifies whether the feature is read only




/* readonly */ booleanIsVisible

A Boolean flag that specifies whether the feature is visible.

This flag distinguishes visible features from internal features. Internal features are invisible features used for construction purposes.




/* readonly */  /* optional */ numberNumber

The regeneration number of the feature. If the feature is suppressed or unregenerated, this will be null.




/* readonly */  /* optional */ pfcFeaturePatternPattern

The pattern, if the feature is a member of a pattern. Otherwise this will be null. This function should only be used for simple patttern and use GetPatternByType function for nested pattern.




/* readonly */ pfcPatternStatusPatternStatus

The pattern status.




/* readonly */ pfcFeatureStatusStatus

The feature status.




/* readonly */ stringVersionStamp

The version stamp





Method Detail


pfcDeleteOperationCreateDeleteOp ()

Creates a feature delete operation.

The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid.ExecuteFeatureOps() .
Returns:
The deletion operation



pfcReorderAfterOperationCreateReorderAfterOp (pfcFeature AfterFeat)

Creates an operation that will reorder the features after the specified feature.

The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid.ExecuteFeatureOps() .
Parameters:
AfterFeat
The feature after which you want to reorder the features
Returns:
The new ReorderAfterOperation object



pfcReorderBeforeOperationCreateReorderBeforeOp (pfcFeature BeforeFeat)

Creates an operation that will reorder the features before the specified feature.

The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid.ExecuteFeatureOps() .
Parameters:
BeforeFeat
The feature before which you want to reorder the features
Returns:
The new ReorderBeforeOperation object



pfcResumeOperationCreateResumeOp ()

Creates a new resume operation object.

The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid.ExecuteFeatureOps() .
Returns:
The new resume operation object



pfcSuppressOperationCreateSuppressOp ()

Creates a new suppress operation object.

The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid.ExecuteFeatureOps() .
Returns:
The new suppress operation object



/* optional */ pfcFeaturePatternGetPatternByType (pfcPatternType Type)

 
Parameters:
Type
Returns:



pfcFeaturesListChildren ()

Lists the children of the feature.
Returns:
The list of first-generation children features.



pfcFeaturesListParents ()

Lists the parents of the feature.
Returns:
The list of first-generation parents features.



/* optional */ pfcModelItemsListSubItems ( /* optional */ pfcModelItemType Type)

Lists the component model items that make up the feature.

Following are the subitems that can get listed with this method: ITEM_SURFACE, ITEM_EDGE, ITEM_QUILT, ITEM_CURVE, ITEM_POINT, ITEM_AXIS, ITEM_COORD_SYS and ITEM_DIMENSION.
Parameters:
Type
The type of subitem you want to find
Returns:
The list of subitems of the specified type