Specifications

71
understands eight different commands. You also always get help by using the 'help' command or by calling
AnyBodyCon with /? argument. The latter approach will give you the full help including descriptions of the
possible program arguments. The table below contain a description of the commands accepted by the
AnyBody console.
Command name Functionality
load "filename.any"
Example: load "demo.outputfile.any"
This command loads an AnyScript model into the system and compiles it.
Don't forget to put the filename between double quotes.
operation <op.name>
Example: operation Main.ArmStudyInverseDynamicAnalysis
This command sets the active operation. This is what you must do as the
first thing after you load a model. All the remaining commands except
exit require an active operation to work on.
run
Example: run
This command takes no arguments. It simply runs the active operation.
step
Example: step
This command takes no arguments. It performs a single step of the
active operation.
reset
Example: reset
This command takes no arguments. It resets the active operation.
print <object>
Example: print Main.ArmModel.Jnts.Shoulder.Pos
This command prints the value of a single variable. If the variable is a
folder, it just lists the names of the element of the folder.
printdown <object>
Example: printdown Main.ArmModel.Jnts
This command recursively prints the values of all elements in an entire
folder.
exit
Example: Exit
This command exits anybodycon.exe and returns to the dos command
prompt.
Now let us try the console application. Start AnyBodyCon.exe from the command prompt and issue the
command sequence:
load "demo.outputfile.any"
operation Main.ArmStudy.InverseDynamicAnalysis
run
exit