I am working with AnyPyTools and Plug-in-gait_simple FullBody_GRFPrediction model.
I want to change some values like sRelOpt or markers, angle values of loading posture, and some external forces before running the studies. However, as I run this piece of simple code I get an error.
from anypytools import AnyMacro, AnyPyProcess, macro_commands as mc import numpy as np macro_list = [ mc.Load('FullBody_GRFPrediction.main.any'), mc.SetValue("Main.ModelSetup.MocapDrivers.LPSI.sRelOpt", np.array([0,0,0])), mc.OperationRun('Main.RunAnalysis') ] app = AnyPyProcess() app.start_macro(macro_list)
'sRelOpt' : 'Set Value' operation on this value-object is not allowed
I really have to modify these values, but it seems like I can't. What should I do now knowing that it is not desired to change the structure of my model?