I have seen how to run (multiple) models from a batch file, however these all have the plaxis model (.p2dx) already filled in.
Is it possible to have an empty template model (.p2dx) and a log file (.p2dxlog) and create/run these from command prompt or a batch file?
Have answered my own question.
i can add all the commands to the calculateproject.log as shown in the tutorial, not just calculate, save and __kill
As found in many fora out there: the best way to solve the problem is just to talk about it "out-loud".
I am glad you figure it out Natalie!
Follow up question which i have not yet answered myself,
I am updating a model and want to export a plot per phase.
_preview InitialPhase opens the Output, but how do i switch to the run commands for the output from within the log file?
Hello Natalie,
We have written a dedicated article about plots in Output:communities.bentley.com/.../export-and-format-plots-from-plaxis-output-using-python
This article is for accessing Output via Python, though there is a link for controlling the output via the internal command line.
However how do you switch remotely from the "Run Commands" in Input to the "Run Commands" in Output?For example i use a batch file to update a model with a log file.
"_preview xxx" opens the Output but the next command in the log file still runs in the Input Commands, which is then not recognised.
Hello again,
I understand. You want a command log that would build the model in Input and also run commands in Output, right?
From Input's command line you can use the following syntax to access Output:
/output set Plots[-1].PhaseBehaviour "projectphase"/output set Plots[-1].Phase Phase_1
Answer Verified By: Natalie Bouwman