Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hello

 

Why? Don't know. I would also expect to get the assembly, not the containing part.

You can try to check if the picked object is a ComponentOccurrenceProxy. If so, get the ContainingOccurrence object and check again if this is a ComponentOccurrenceProxy. Do this stepping up until the ContainingOccurence is a ComponentOccurrence. If the ComponentOccurrence.IsPatternElement=True then you should have found the assembly in the pattern.

 


R. Krieg
RKW Solutions
www.rkw-solutions.com