How can I code the following lines in Python for Plaxis 2D (2018)? Thank you.
_selectmeshpoints
/output addcurvepoint "Node" (1.4 0.0)
Dear Shokoufeh,
The first command is written as follows:
g_i.selectmeshpoints()
The second command is written as follows:
g_o.addcurvepoint("node", 1.4, 0)
Note that the full workflow would be:
localhostport_o = g_i.selectmeshpoints()s_o, g_o = new_server('localhost', localhostport_o, password='your_password')g_o.addcurvepoint("node", 1.4, 0)g_o.update() # updates & closes Output