API Documentation > Classes > Class pfcFeature
Class pfcFeature
Description
This class defines a feature.
See Also:
Direct Parent Classes:
Direct Known Subclasses:
User Guide References:
Property Summary
/* readonly */ string
The feature subtype, i.e. "Extrude" or "Revolve" for a protrusion.
/* readonly */ pfcFeatureType
The feature type.
/* readonly */ string
The feature type expressed as a string.
/* readonly */ /* optional */ pfcFeatureGroup
The group, if the feature is a member of a group. Otherwise this will be null.
/* readonly */ /* optional */ pfcFeatureGroup
/* readonly */ /* optional */ pfcGroupPattern
The group pattern, if the feature is a member of a group pattern. Otherwise this will be null.
/* readonly */ pfcGroupPatternStatus
The group pattern status.
/* readonly */ pfcGroupStatus
The group status.
/* readonly */ boolean
A Boolean flag that specifies whether the feature is an embedded datum or not.
/* readonly */ boolean
Retrieves the group status of the specified feature.
/* readonly */ boolean
A Boolean flag that specifies whether the feature is read only
/* readonly */ boolean
A Boolean flag that specifies whether the feature is visible.
/* readonly */ /* optional */ number
The regeneration number of the feature. If the feature is suppressed or unregenerated, this will be null.
/* readonly */ /* optional */ pfcFeaturePattern
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 */ pfcPatternStatus
The pattern status.
/* readonly */ pfcFeatureStatus
The feature status.
/* readonly */ string
The version stamp
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.
/* optional */ pfcFeaturePattern
Lists the children of the feature.
Lists the parents of the feature.
/* optional */ pfcModelItems
ListSubItems ( /* optional */ pfcModelItemType Type)
Lists the component model items that make up the feature.
Property Detail
/* readonly */ string
FeatSubType
The feature subtype, i.e. "Extrude" or "Revolve" for a protrusion.
/* readonly */ pfcFeatureType
FeatType
The feature type.
/* readonly */ string
FeatTypeName
The feature type expressed as a string.
/* readonly */ /* optional */ pfcFeatureGroup
Group
The group, if the feature is a member of a group. Otherwise this will be null.
/* readonly */ /* optional */ pfcFeatureGroup
GroupDirectHeader
/* readonly */ /* optional */ pfcGroupPattern
GroupPattern
The group pattern, if the feature is a member of a group pattern. Otherwise this will be null.
/* readonly */ pfcGroupPatternStatus
GroupPatternStatus
The group pattern status.
/* readonly */ pfcGroupStatus
GroupStatus
The group status.
/* readonly */ boolean
IsEmbedded
A Boolean flag that specifies whether the feature is an embedded datum or not.
/* readonly */ boolean
IsGroupMember
Retrieves the group status of the specified feature.
/* readonly */ boolean
IsReadonly
A Boolean flag that specifies whether the feature is read only
/* readonly */ boolean
IsVisible
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 */ number
Number
The regeneration number of the feature. If the feature is suppressed or unregenerated, this will be null.
/* readonly */ /* optional */ pfcFeaturePattern
Pattern
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 */ pfcPatternStatus
PatternStatus
The pattern status.
/* readonly */ pfcFeatureStatus
Status
The feature status.
/* readonly */ string
VersionStamp
The version stamp
Method Detail
CreateDeleteOp
()
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
User Guide References:
CreateReorderAfterOp
(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
User Guide References:
CreateReorderBeforeOp
(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
User Guide References:
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() .
Returns:
The new resume operation object
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() .
Returns:
The new suppress operation object
User Guide References:
/* optional */ pfcFeaturePattern
GetPatternByType
Parameters:
Type
Returns:
User Guide References:
ListChildren
()
Lists the children of the feature.
Returns:
The list of first-generation children features.
User Guide References:
ListParents
()
Lists the parents of the feature.
Returns:
The list of first-generation parents features.
User Guide References:
/* optional */ pfcModelItems
ListSubItems
( /* 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
User Guide References:
Was this helpful?