Solid Edge Part Type Library
GetOccurrence Method
Specifies which occurrence of the pattern to return.
Returns the specified occurrence.
Description
Returns the collection of occurrences for the referenced pattern.
Syntax
Visual Basic
Public Sub GetOccurrence( _
   ByVal Occurrence As Long, _
   ByRef Features() As Object _
) 
Parameters
Occurrence
Specifies which occurrence of the pattern to return.
Features
Returns the specified occurrence.
Remarks
With smart patterns, the number of features in the array returned by GetOccurrence is the same as the number of input features. There are as many occurrences as returned by the NumberOfOccurrences method. With fast patterns, there are exactly two occurrences: one for the feature set being patterned and one for the rest. (That is, the unique occurrences in a smart pattern are combined into a single occurrence in a fast pattern.) The value returned by the NumberOfOccurrences method is the same as in the smart pattern case (that is, the visually observed occurrences) and is not matched with the number of actual occurrences created (two).
See Also

Pattern Object  | Pattern Members

Send comments on this topic.