In GaitFullBody example, you can see how the markers are define in the ‘ModelSetup.any’ file.
Also you can refer ‘CreateMarkerClassTD.any’ file which contains the class template.
All the markers attached to human are located in each human segment.
For instance, there are some markers in human pelvis segment such as:
Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.LASI
Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.RASI
Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.LPSI
Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.RPSI
So you should find all the locations of markers individually through all segments in human model.
Actually, these markers are in form of ‘AnyRefNode’ class.
If you see ‘r’ value of this AnyRefNode object, then it means the global position of this marker with respect to time.
In AnyScript, you can save any values by using ‘AnyOutputFile’ class.
I would suggest you to see the description of this class in the reference manual.
Also, you can see how you should this AnyOutputFile class in the ‘JointAngleOutputs.any’ file in the GaitFullBody example.