Hi Justin, thanks for the reply. I've taken a look at the script examples you've typed up. The problem is that the naming convention for all the joints in the simulation have the same name for example so I have to use the BEGIN Ultralisk as a marker to identify that the next b_Waist_JNT is the root joint of that particular agent.
BEGIN Zergling_1 b_Waist_JNT 1625.036499 72.764275 -624.906616 0 2.574 0 BEGIN Ultralisk_68 b_Waist_JNT -80.944084 22.512356 -150.658325 -2.806 100.024 -2.850 BEGIN Ultralisk_69 b_Waist_JNT 451.513000 -49.609299 -54.891254 -2.747 100.236 -2.791 While the logical thing is just to read the next line since that's how the information is arranged, I eventually want to specify a particular joint that I want to use as a marker. That's why I'm trying to see how I could get Python to use the BEGIN as a start point and a end point. I hope I'm making sense here or I simply just didn't understand the example you gave me. -- 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 python_inside_maya+unsubscr...@googlegroups.com. To post to this group, send email to python_inside_maya@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.