Hi, I have a stereotyped element with a tagged value connector. That is, it has a tagged value which references a collection of elements.
I am trying to write a script which iterates over this collection, but it's failing with an error.
The code looks like this
1 dim capabilities as EA.Collection
2 capabilities = tag.Value
3 for n=0 to capabilities.Count-1
4 dim capability as EA.Element
5 capability = capabilities.GetAt(n)
6 <stuff>
7 next
The error is 'Object Required' at line 3.
Any ideas?