I'm not sure I understand the problem with the examples I gave, in achieving 
what you want.
If you are concerned with being able to retrieve the 'b_Waist_JNT' attribute, 
and that it could appear at any point within each agent block, why not just 
parse the file, and get the attribute you want for each agent?

agents = parse_apf("frame.1.apf")

for agent, attrs in agents.iteritems():
    print agent, attrs['b_Waist_JNT']

Zergling_64 [-1987.39563, -0.160679, -336.820892, 0.0, -2.651, 0.0]
Zergling_39 [-581.739136, 79.09861, -315.018768, 0.0, 1.405, 0.0]
Zergling_38 [-631.878357, 49.06324, -539.750732, 0.0, 1.584, 0.0]
...



On May 7, 2013, at 6:13 AM, Bay wrote:

> b_Waist_JNT

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to