I am experiencing problems with executing the inverse dynamic function of my AnyBody model step by step (F6 in AnyBody) through Python.
I tried the following macro command in which I reload the main.any and include every time one additional step:
macro = [
'load, "Main.any" '
]
for i in range(0,11):
macro.append(
'operation Main.RunAnalysis.InverseDynamics "step" ',
)
Knee_JRF = app.start_macro(
macro,
folderlist,
search_subdirs=r"\Main.any",
logfile="BatchProcessingLogs_JRF/RunAndSave.txt",
)
However the "step" is not executed correctly.
Additionally, I want to extract in every position (thus every step) the stl of femur and tibia. I tried to save these stl using the following macro command: