To whom it may concern,
Before I delve into my problem, a brief description of the model is the following:
-Using the Template MoCapModel I was able to insert subject c3d data.
-Through the scaling Law I was able to morph an L4 spine obtained from CT scans into the AnyBody L4 spine.
-MoCapModel now contains personalised gait and personalised vertebra.
I would like to export the forces being felt on the L4 vertebra, to do so I created a folder called files_in within the MoCapModel folder. The code used to export the .xml data was inserted at the end of the inverse dynamics file with code as shown below.
Unfortunately for some unknown reason, even though the program works without an error, no files are being output.
Is the code correct? perhaps my output file directory isn’t specified correctly? or perhaps apart from this section of code in the inverse dynamics file, I should also insert a function in the main file?
I am currently using 6. 0. 4. 4327 (64-bit version), through remote desktop.
Many thanks to anyone who may help!
AnyMechOutputFileForceExport FE_out_L4 =
FileName = “files_in/L4.xml”;
Digits = 15;
Width = 22;
Style = ScientificNumber;
FormatStr = “”;
UseRefFrameOnOff = On;
AllSegmentsInStudyOnOff = Off;
XMLformatOnOff = On;
AnyRefFrame &ref1 = Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.L4Seg.LSNode;
AnySeg &L4vertebra = Main.Studies.HumanModel.BodyModel.Trunk.SegmentsLumbar.L4Seg;