hi kevin,
i'm not sure that will help you, but i'm willing to try.
- In your "UserOpenSequence" function, you will find:
TX_OpenSequence (fileName, USE_SEQ_LOAD_SPEC, 0, &newSeqId);
if (newSeqId > 0) gTopLevelSeqId = newSeqId;
this will give you the id of the top level sequence. If you want, you can store it in a global variable each time you open a sequence in order to keep track of each sequence.
- go to your "StartSeqTest" function. you will find there:
TX_RunSeqOrTest(gTopLevelSeqId, TXRT_LOOP_SEQ, 1, -1, NULL);
so your test will be a part of "gTopLevelSeqId".
this is the Seq id I believe you should give to your GetSeqAttribute.
But since (according to this) the running sequence is top level, i'm not completely sure it is usefull to make such
a test here.
Anyway, I hope this helps you a little.
good luck, flo.