UDT elements that are referenced indirectly do not export. I'm having to recreate a lot of tags to get them into C-More. Example:
MYUDT[ I].ELEMENTX
MYUDT[J].ELEMENTX
MYUDT[K].ELEMENTX
Where I=0, J=1, K=2. It would be nice if these would export as:
MYUDT0.ELEMENTX
MYUDT1.ELEMENTX
MYUDT2.ELEMENTX
It looks like you just want a range, vs. multiple random entries? Entering by hand multiple random entries (e.g. I=0, J=1, K=2) requires nearly as much work as copy/paste a line of text in the export file and tweaking the ID. A range, however, can dump 10, 100, 1000 C-more tags very easily by just providing a start/end ID.
Basically, if an array reference is found, you could be prompted to provide a range for that specific block element, whether it's MyUDT or R or C (e.g. MyUDT[V42].ElementX, R[V2], C[V55]). If it's a structure/UDT, I'm guessing that you would want the identical range for ALL structure members (e.g. for .ElementX and for .MyFlag and for .ElementA), or do you think you want to be prompted for a range for EVERY SINGLE structure member (i.e. once for .ElementX, once for .Myflag, and a 3rd time for .ElementA - realize a log or recipe UDT could easily have 20+ members).
At some point, notepad becomes the optimal way of editing a text file to your exact needs.