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

How to get the Inventor OccurrencePatternProxys from a sub assembly?

I am treversing an assembly and are trying to delete, hide, and suppress components. I have no problem with the components on the top level assembly (main assembly), but I have a problem with the lower level components, specificly patterns. 

I kind of figured out that if I wanted to delete, hide or suppress lower level components I need a proxy object. That is easy for regular components that are of the type componentOccurrence. I get those throu the property SubOccurrences on the specified assembly. 

But I can't figure out how to get the proxys of the type occurrencePattern. There seams to be no property for those, or any other way for searching for them.

 

jaka73LU2_0-1685960191300.png