dear all
I deleted some of the stages in Plaxis, it looks a little awkwardand. So I wanted to reorder the remaining stage names through Python,
how should I do this, I looked for some information, but it didn't work, can you give me a link or an example?
thank you
Hello Xiong,
For every object you can use the echo command in PLAXIS command line. That will give you all the properties of that object so you can search what parameters you want to change.
In Python that is done by the function: dir(g_i.Phase_1)
In any case, the property you are looking for is .Name. You can rename the phase directly via the command:
rename Phase_1 "First_Phase"
or via Python:
g_i.Phase_1.rename("First_Phase")
Answer Verified By: xiong qi
thank you, Stefanos.
this problem is solved by your method.
thank you again.