Hi,
I am wondering how to export error message in system console to external files when runing model silently? Thanks!
.
Hi,
I am wondering how to export error message in system console to external files when runing model silently? Thanks!
.
You can use the following command to get the system console output when running FlexSim silently:
string systemConsoleText = applicationcommand("getconsoletext", 2);
Attached (runscriptdemo.zip) is a zip file containing 3 files that show an example of how you can silently run a FlexSim model and then export results to a text file, including the output and system console text.
Extract these 3 files to your computer somewhere (I put them on my Desktop).
Edit runScriptDemo.bat so that it has correct paths to where you have installed FlexSim, where the model is, and where the script file is.
"C:\Program Files\FlexSim 2019\program\flexsim.exe" "C:\Users\username\Desktop\test_1.fsm" /maintenance nogui_disablemsg_runscript /scriptpath "C:\Users\username\Desktop\script.txt"
@phil.bobo really thanks for you response, it's really helpful! Here I have one more question. How to make experiments of parallel operation with different parameters in one model when flexsim running silently, if I don't use experimenter built in flexism? Thansk again!
13 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved