What I mostly do is keep track of the number of OBX’s that are translated by means of a list-variable (%l1). For example:
# initialize variable
COPY =0 -> $%l1
# Iterate through OBR
ITERATE group basis 3 variable %g1
# Create new OBX
COPY ={new info} -> 3(%g1).1(%l1).OBX
MATH: ADD $%l1 =1 -> $%l1
# Iterate through normal OBX
ITERATE group basis 3.(%g1).1 variable %g2
# Create new OBX
PATHCOPY 3(%g1).1(%g2).OBX -> 3(%g1).1(%l1).OBX
MATH: ADD $%l1 =1 -> $%l1
I hope you get the drift…
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands