Hi, there is no need to change the blender script. The global position is recorded in the exported bvh file, which is written by this call. It is eventually written by this call, with the pos variable. I would suggest you to pass the global position to this variable by adding some parameters.
how to change the blender script to get the running fbx, not fix one point?