I´m developing a Python script to automate the simulation a dam construction, but I´m having trouble to activate the layers (polygons) on each phase. Does anyone know how to do it?
Dear Hugo,
Berk Demir already gave you the answer.
Did you know that we have a Scripting reference? There you can find an example for all PLAXIS commands available:https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45447/scripting-reference-and-how-to-use-it
Stafanos, thank you for the recommendation!
The Scripting reference has helped me a lot with the examples and code reference, but sometimes I find had to understand. Last night I figured out how to activate de material based on the reference, but I took me a while to do it.
Hello Hugo,
Great to hear that you managed to figure it out. That is the best way to learn with Python. The motto "no pain, no gain" is very relevant in programming.
Note that the Scripting Reference is a live Python session, so running the examples step by step can help a lot. But in any case, you can always submit a service request if you need specific help on a command or how to question.