Library | Module

Interface IpfcFeature



Description

This class defines a feature.
See Also:
IpfcSolid.GetFeatureById(), IpfcSolid.GetFeatureByName(), IpfcSolid.ListFeaturesByType()
Direct Parent Classes:
IpfcModelItem
Direct Known Subclasses:
IpfcComponentFeat, IpfcDatumAxisFeat, IpfcCurveFeat, IpfcCoordSysFeat, IpfcDatumPlaneFeat, IpfcRoundFeat, IpfcDatumPointFeat



Property Summary

PropertyFeatSubTypeas String
The feature subtype, i.e. "Extrude" or "Revolve" for a protrusion.
PropertyFeatTypeas IpfcFeatureType
The feature type.
PropertyFeatTypeNameas String
The feature type expressed as a string.
PropertyGroupas IpfcFeatureGroup [readonly, optional]
The group, if the feature is a member of a group. Otherwise this will be null.
PropertyGroupDirectHeaderas IpfcFeatureGroup [readonly, optional]
 
PropertyGroupPatternas IpfcGroupPattern [readonly, optional]
The group pattern, if the feature is a member of a group pattern. Otherwise this will be null.
PropertyGroupPatternStatusas IpfcGroupPatternStatus
The group pattern status.
PropertyGroupStatusas IpfcGroupStatus
The group status.
PropertyIsEmbeddedas Boolean
A Boolean flag that specifies whether the feature is an embedded datum or not.
PropertyIsGroupMemberas Boolean
Retrieves the group status of the specified feature.
PropertyIsReadonlyas Boolean
A Boolean flag that specifies whether the feature is read only
PropertyIsVisibleas Boolean
A Boolean flag that specifies whether the feature is visible.
PropertyNumberas Long [readonly, optional]
The regeneration number of the feature. If the feature is suppressed or unregenerated, this will be null.
PropertyPatternas IpfcFeaturePattern [readonly, optional]
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.
PropertyPatternStatusas IpfcPatternStatus
The pattern status.
PropertyStatusas IpfcFeatureStatus
The feature status.
PropertyVersionStampas String
The version stamp



Method Summary

FunctionCreateDeleteOp () as IpfcDeleteOperation
Creates a feature delete operation.
FunctionCreateReorderAfterOp (AfterFeat as IpfcFeature) as IpfcReorderAfterOperation
Creates an operation that will reorder the features after the specified feature.
FunctionCreateReorderBeforeOp (BeforeFeat as IpfcFeature) as IpfcReorderBeforeOperation
Creates an operation that will reorder the features before the specified feature.
FunctionCreateResumeOp () as IpfcResumeOperation
Creates a new resume operation object.
FunctionCreateSuppressOp () as IpfcSuppressOperation
Creates a new suppress operation object.
FunctionGetPatternByType (Type as IpfcPatternType) as IpfcFeaturePattern [optional]
 
FunctionListChildren () as IpfcFeatures
Lists the children of the feature.
FunctionListParents () as IpfcFeatures
Lists the parents of the feature.
FunctionListSubItems (Type as IpfcModelItemType [optional]) as IpfcModelItems [optional]
Lists the component model items that make up the feature.



Property Detail


PropertyFeatSubTypeas String

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




PropertyFeatTypeas IpfcFeatureType

The feature type.




PropertyFeatTypeNameas String

The feature type expressed as a string.




PropertyGroupas IpfcFeatureGroup [readonly, optional]

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




PropertyGroupDirectHeaderas IpfcFeatureGroup [readonly, optional]

 




PropertyGroupPatternas IpfcGroupPattern [readonly, optional]

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




PropertyGroupPatternStatusas IpfcGroupPatternStatus

The group pattern status.




PropertyGroupStatusas IpfcGroupStatus

The group status.




PropertyIsEmbeddedas Boolean

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




PropertyIsGroupMemberas Boolean

Retrieves the group status of the specified feature.




PropertyIsReadonlyas Boolean

A Boolean flag that specifies whether the feature is read only




PropertyIsVisibleas Boolean

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.




PropertyNumberas Long [readonly, optional]

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




PropertyPatternas IpfcFeaturePattern [readonly, optional]

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.




PropertyPatternStatusas IpfcPatternStatus

The pattern status.




PropertyStatusas IpfcFeatureStatus

The feature status.




PropertyVersionStampas String

The version stamp





Method Detail


FunctionCreateDeleteOp () as IpfcDeleteOperation

Creates a feature delete operation.

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



FunctionCreateReorderAfterOp (AfterFeat as IpfcFeature) as IpfcReorderAfterOperation

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

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



FunctionCreateReorderBeforeOp (BeforeFeat as IpfcFeature) as IpfcReorderBeforeOperation

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

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



FunctionCreateResumeOp () as IpfcResumeOperation

Creates a new resume operation object.

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



FunctionCreateSuppressOp () as IpfcSuppressOperation

Creates a new suppress operation object.

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



FunctionGetPatternByType (Type as IpfcPatternType) as IpfcFeaturePattern [optional]

 
Parameters:
Type
Returns:



FunctionListChildren () as IpfcFeatures

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



FunctionListParents () as IpfcFeatures

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



FunctionListSubItems (Type as IpfcModelItemType [optional]) as IpfcModelItems [optional]

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