i need to create a python script which modifies plaxis input through a txt file contains the commands
example:
_gotostructuressps sand "gammaunsat" %ZM.gammaunsat=18.5% "gammasat" %ZM.gammasat=18.5%sps sand "phi" %ZM.phi=30.0% "psi" %ZM.phi=30.0%
Dear Mohamed,
With Python I would recommend to check our material on our Bentley Communities: https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45393/api-python-scripting---plaxis
Specifically for materials, here is a start with a Mohr-Coulomb material:
g_i.soilmat(“MaterialName", "Sand", "SoilModel", 2, "Gref", 12500, "phi", 25)
Note that you can check our Objects reference (in Help > Command reference) for SoilMat to get all the property names correctly or you can manually create a simple material and use the echo command to see all the properties. Remember that Python is case sensitive so you need to provide the exact names.
For further assistance, please feel free to submit a service request: https://apps.bentley.com/srmanager/ProductSupport