API Documentation > Interface Classes > Class pfcFeature
Class pfcFeature

# include <pfcFeature.h>

class
pfcFeature
: public virtual
pfcModelItem
{
xaideclare(pfcFeature)
...
};


Description
This class defines a feature.
See Also:
Direct Known Subclasses:
User Guide References:
Methods Inherited from Class pfcChild::
Methods Inherited from Class pfcActionSource::
Methods Inherited from Class pfcRelationOwner::
Methods Inherited from Class pfcParent::
Methods Inherited from Class pfcParameterOwner::
Methods Inherited from Class pfcModelItem::
Method Summary
Creates a feature delete operation.
Creates an operation that will reorder the features after the specified feature.
Creates an operation that will reorder the features before the specified feature.
Creates a new resume operation object.
Creates a new suppress operation object.
The feature subtype, i.e. "Extrude" or "Revolve" for a protrusion.
The feature type.
The feature type expressed as a string.
The group, if the feature is a member of a group. Otherwise this will be null.
The group pattern, if the feature is a member of a group pattern. Otherwise this will be null.
The group pattern status.
The group status.
A Boolean flag that specifies whether the feature is an embedded datum or not.
Retrieves the group status of the specified feature.
A Boolean flag that specifies whether the feature is read only
A Boolean flag that specifies whether the feature is visible.
The regeneration number of the feature. If the feature is suppressed or unregenerated, this will be null.
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.
The pattern status.
The feature status.
The version stamp
Lists the children of the feature.
Lists the parents of the feature.
Lists the component model items that make up the feature.
Method Detail
GetFeatType
()
The feature type.
User Guide References:
GetFeatTypeName
()
The feature type expressed as a string.
User Guide References:
GetFeatSubType
()
The feature subtype, i.e. "Extrude" or "Revolve" for a protrusion.
User Guide References:
GetStatus
()
The feature status.
User Guide References:
The group, if the feature is a member of a group. Otherwise this will be null.
User Guide References:
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.
User Guide References:
GetGroupPattern
()
The group pattern, if the feature is a member of a group pattern. Otherwise this will be null.
User Guide References:
Parameters:
Type
Returns:
GetPatternStatus
()
The pattern status.
User Guide References:
GetGroupStatus
()
The group status.
User Guide References:
GetGroupPatternStatus
()
The group pattern status.
User Guide References:
GetIsVisible
()
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.
User Guide References:
GetIsReadonly
()
A Boolean flag that specifies whether the feature is read only
User Guide References:
GetNumber
()
The regeneration number of the feature. If the feature is suppressed or unregenerated, this will be null.
User Guide References:
GetVersionStamp
()
The version stamp
GetIsGroupMember
()
Retrieves the group status of the specified feature.
GetIsEmbedded
()
A Boolean flag that specifies whether the feature is an embedded datum or not.
User Guide References:
CreateSuppressOp
()
Creates a new suppress operation object.
The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid::ExecuteFeatureOps(pfcFeatureOperations_ptr, cipOptional pfcRegenInstructions_ptr) .
User Guide References:
Returns:
The new suppress operation object
CreateResumeOp
()
Creates a new resume operation object.
The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid::ExecuteFeatureOps(pfcFeatureOperations_ptr, cipOptional pfcRegenInstructions_ptr) .
User Guide References:
Returns:
The new resume operation object
CreateDeleteOp
()
Creates a feature delete operation.
The return value must be passed as a member of a pfcFeatureOperations sequence to the method pfcSolid::ExecuteFeatureOps(pfcFeatureOperations_ptr, cipOptional pfcRegenInstructions_ptr) .
User Guide References:
Returns:
The deletion operation
CreateReorderBeforeOp
(pfcFeature_ptr 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(pfcFeatureOperations_ptr, cipOptional pfcRegenInstructions_ptr) .
User Guide References:
Parameters:
BeforeFeat
The feature before which you want to reorder the features
Returns:
The new ReorderBeforeOperation object
CreateReorderAfterOp
(pfcFeature_ptr 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(pfcFeatureOperations_ptr, cipOptional pfcRegenInstructions_ptr) .
User Guide References:
Parameters:
AfterFeat
The feature after which you want to reorder the features
Returns:
The new ReorderAfterOperation object
ListChildren
()
Lists the children of the feature.
User Guide References:
Returns:
The list of first-generation children features.
ListParents
()
Lists the parents of the feature.
User Guide References:
Returns:
The list of first-generation parents features.
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.
User Guide References:
Parameters:
Type
The type of subitem you want to find
Returns:
The list of subitems of the specified type
GetGroupDirectHeader
()
User Guide References:
Was this helpful?