Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
J-Camper
in reply to: blandb

This is how you can get an OccurrencePattern Object From a selected ComponentOccurrence:

Dim OccPat As OccurrencePattern = Occ.PatternElement.Parent
'Where Occ is a ComponentOccurrence and Occ.IsPatternElement = True

OccurrencePattern Object  has a Property "OccurrencePatternElements", which you can iterate through as OccurrencePatternElement Objects to find the Occurrences that make up each Element.