Specifications
73
As you can see, the command line version can produce output data that can be formatted according to your
desire and processed further by other types of software. But the really great thing about the console
application is that you can execute it from other software such as Matlab or Visual Basic and as such build it
into an integrated system for large-scale biomechanical data processing such as response surface-based
optimization. Instead of typing the commands into the application by hand, you can store them in a macro
file. Such files usually have the extension ".anymcr". The command line application can be given such a file
as its command line argument, and it will perform the commands in it. Don't forget to make "exit" the final
command of the macro file if you want the application to end after processing the macro file.
You are now ready to let the command line application be a part of a system for biomechanical data
processing of your own design.
Path specification
As mentioned earlier, you can add the path of AnyBodyCon.exe to the path enviromental variable for your
DOS prompt to ease the call to AnyBodyCon.exe from anywhere. This you can do from the DOS prompt with
a statement such as
path c:\Program Files\AnyBody Technology\AnyBody.3.0\;
or
path %path%;c:\Program Files\AnyBody Technology\AnyBody.3.0\;
if you want to add the AnyBodyCon.exe's path to the exisitng path definition. Notice that you cannot have
any space between ';' and the following path "c:\..." and that you can see the resulting path by simply
calling the internal path command again without arguments.
These statements will only take effect until the current DOS prompt is closed, but you can also add the path
of AnyBodyCon.exe permanently to the path for all DOS prompts. In Windows XP for instance, you do this
from Control Panel -> System under the Advanced tab. You should however be aware that multiple versions
of AnyBody may be installed on the computer at the same time, and therefore, multiple versions of
AnyBodyCon.exe may exist in different locations. Thus, your path specification not only make it easy to call
AnyBodyCon.exe; it will also specify which version that will be used. This can make unclear which one you
are actually using if you need several of them.
To be in full control with multiple installations of AnyBody, you can define aliases by the following procedure
1. Make a directory with .bat files or shortcut to the AnyBodyCon.exe version you will need. Name the
bat-files properly, so you can recognize the different version, e.g. AnyBodyCon201.bat and
AnyBodyCon30.bat. The bat files contain a single statement, the call of AnyBodyCon.exe with its full
path.
2. Add this directory to the permanent path of the DOS prompt.
3. You can now call the different versions of AnyBodyCon via the bat files, so the bat file names are
working as aliases for the real exe files.
A study of studies
Studies are AnyBody's mechanism for specifying "things to do to the model" in the sense that a study
executes the model and gives you results to investigate afterwards. The study or studies is what you see
organized in a tree in the frame at the bottom of the screen when you have loaded a model.
AnyBody's family of study classes looks like this:










