Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to suppress the second element of a sub-pattern using ilogic without generating a LOD
i can do it manualy like this:
but i need to do it with i logic because of an automated frame I'm doing
I tried using this without success:
Dim oDoc As AssemblyDocument oDoc = ThisApplication.ActiveDocument 'reference the pattern in the assembly Dim oPattern As OccurrencePattern
'calls the pattern by name oPattern = oDoc.ComponentDefinition.OccurrencePatterns.Item("2 CAB PAT") oPattern.OccurrencePatternElements.Item(2).Suppressed=True
i do understand i need to access the parent pattern (4 CAB PAT) to get to it but i can't figure out how...
thanks for your help
Solved! Go to Solution.