Steve,
I can tell you how to get the number of steps in a sequence or sequence file. However, due to looping, sequence calls, external calls to other files, this may not be the information you want.
Once you have a SequenceFile object, you can iterate through the Sequences using the GetSequence method and the NumSequences property. Once you have a Sequence, you can use the GetNumSteps method for each of the three step groups.
Pseudo code:
totalsteps = 0
For each Sequence in SequenceFile
totalsteps+= Sequence.GetNumSteps(Setup)
totalsteps+= Sequence.GetNumSteps(Main)
totalsteps+= Sequence.GetNumSteps(Cleanup)
End For
If I have misunderstood your question, let me know.
Allen P
NI