Skip to Content

How to write command script to export data in PostProcessing into other files?

Hi all,

I built my own human model in LifeMOD, run simulations and save these analyses. Then, in PostProcessing interface, corresponding to each analysis, I start to display data (displacement, velocity so on) of human components (vertebrae, head, joints....) under plots. After that, I export these data into files (numeric data, table...) and move on next analysis. This process is repeated until the last analysis is done. Since the data is quite large, doing these steps manually is time consuming. Hence, I want to write command script (not write line by line on the Command Window) to do this work automatically. Unfortunately, I don't know where I can start. Is there anyone who knows this thing to help me? If possible, please instruct me step by step. Thanks so much in advance.

Best regards,

Kim Tho

command scripting

Running models through command scripts is a great way to build (nearly) version independance into your process while reducing the amount of manual work through the GUI that is needed.

Post processing is no different than the modeling itself when it comes to scripting.  All the commands that you do manually, both from a pure Adams/View and for LifeMOD specific, are recorded directly into the AView.log file.  Or you can leave the command window (F3) active and see the commands scroll by as you do post processing steps manually.  It is just a matter of then pasting them into a command file, and the next time importing it (F2).