dear all
Suppose I have changed the soil layer N parameter times, and each time I adjust the parameter, I will get a set of results. I need to run it N times to get N sets of results. Can I do this with a loop in python?
thank you
The program reported the following error
The view command in PLAXIS Input returns the port number that is assigned to the PLAXIS Output program.You would need to setup the new Output server with the right port.Something like this:
from plxscripting.easy import * plaxis_password = 'yourpassword' # [... YOUR CODE ...] phase_input = g_i.Phase_27 output_port = g_i.view(phase_input) s_o, g_o = new_server('localhost', output_port, password=plaxis_password) phase_output = get_equivalent(phase_input, g_o) # to get the phase object in Output value = g_o.getsingleresult(phase_output, g_o.ResultTypes.EmbeddedBeam.Utot, 7.5, 1) # embedded beam row changed to embedded beam in V22 # finally, close the Output instance: g_o.close()
Answer Verified By: xiong qi
thank you! Micha.
This problem has been solved. Thank you for your reply!