I’m trying to run the GaitLowerExtremity model from the console. There seems to be issues with reading macros or writing output files. I’ve tried this with the provided model from AMMRV1.1 using both AnyBody 4.1.1 and 4.2.0 and have the same problem with both.
I’m trying to initialise them with the following macros
load “GaitLowerExtremity.main.any”
operation Main.RunMotionAndParameterOptimizationSequence
run
exit
load “GaitLowerExtremity.main.any”
operation Main.InverseDynamicAnalysisSequence
run
exit
Have I made a mistake and have these been run correctly from the console before?
We plan to release a minor update later this year that will fix this problem.
The problem is that the console application does not know how to handle a operation hierarchy which is used by the gait application.
It might be possible to rearrange the gait application in a way that would make it possible to run in the console application, but it will require some amount of rearrangements in the script … if for example it would always save he output in the same file name things could be simplified a bit…