OccurrencePatterns.AddFeatureBasedPattern Method
Parent Object: OccurrencePatternsDescription
Method that creates a new occurrence pattern of the input component(s) using a pattern feature to define the positions of the elements within the pattern.
Syntax
OccurrencePatterns.AddFeatureBasedPattern( ParentComponents As ObjectCollection, FeaturePattern As PartFeature ) As FeatureBasedOccurrencePatternParameters
Name | Type | Description |
ParentComponents | ObjectCollection | Input ObjectCollection that contains the components to pattern. The valid objects that can be specified in the collection are ComponentOccurrence and OccurrencePattern objects. |
FeaturePattern | PartFeature | Input PatternFeatureProxy object that defines which pattern feature to use for this occurrence pattern. |