Pattern Features and their Feature Data Objects
To create a pattern feature:
-
Open a part (or an assembly for a local pattern).
-
Pre-selection of entities may be supported for some pattern features.
Refer to the remarks and
examples in the pattern-specific feature data interfaces.
-
Modify properties on the pattern-specific feature data object.
-
Create the pattern-specific feature by calling
IFeatureManager::CreateFeature.
To edit a pattern feature:
- Call
IFeature::GetDefinition
to get the pattern-specific feature data object.
- Call AccessSelections on the pattern-specific feature data
object.
- Modify properties on the pattern-specific feature data object.
- Call
IFeature::ModifyDefinition if you modified the
feature or
ReleaseSelectionAccess on the pattern-specific feature data object if you did not modify
the feature.