I'm quite poor at this stuff, but you are putting a lot of effort into this, so... Have you tried capturing the number of items that catia has prompted the user to input into the pattern using OLE or the knowledge tool bench? Then you should be able to bypass trying to read the copies created...