Share

OccurrencePatterns.AddFeatureBasedPattern Method

Parent Object: OccurrencePatterns

Description

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 FeatureBasedOccurrencePattern

Parameters

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.

Version

Introduced in version 9

Was this information helpful?