Hi !
I’m still working with macros but I"m unable to find the right way to set a value.
Here is the context : I’d like to set the value of the “tEnd” parameter via a macro command, to launch the stud with the Anybodycon program.
I set this parameter in my “main” file as follows (I use the Demo.Arm.2D.any file) :
AnyBodyStudy Study = {
AnyFolder& Model = Main.ArmModel;
Gravity = {0,0,-9.81};
nStep =N_STEP;
tEnd = DesignVar(1);
};
Then, here is my macro commands :
load "../Demo.Arm2D.any" -v --tEnd=30
But (of course ) it’s wrong since I get this error : "Warning : arguments has no effect : -v --tEnd = 30 "
Can you help me and give me advice about that specific problem ?
Thank you in advance !
Lauranne