Message 1 of 7

Not applicable
04-27-2016
05:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I try to count a specific part in iam rectangular pattern
Here's my idea of code:
i = 0 oCaisson40 = ThisApplication.Documents.ItemByName(oPath40) oPattern = oDoc.ComponentDefinition.OccurrencePatterns.Item("Pattern-A") oElement = oPattern.OccurrencePatternElements.Item(oCaisson40) oComp = oPattern.Occurrences.Item(1) For Each oComp In oPattern i = i+1 Next oNomDernierCaisson1 = i
Thanks for your help
Solved! Go to Solution.