active soil in python

Dear all

the soil will be cut into many small pieces when the pile is embedded in the soil layer, and some small pieces will overlap. 

 soil_x is preferred in plaxis,but I find that the soil_x_x is used as the benchmark in the activation process of python soil blocks. I want to just press soil_x, so how do I do that?

thank you

Parents
  • Dear Xiong,

    I am not sure I fully understand the question.

    Objects get intersected in PLAXIS automatically when you switch from Blue (Soil, Structures) to Green modes (Mesh, Flow conditions, Staged construction). Naturally, if a soil object is a single rectangle in Structures but gets intersected by a line, it will be split into multiple parts in Staged construction.

    PLAXIS offers the possibility via the GUI to activate Soil_X directly via the Model explorer but in reality, Soil_X_1, Soil_X_2, etc. are to be activated as Soil_X no longer exists (serves only as a reference).

    Therefore with Python, you can only access the Soil_X_Y items in a for-loop as these are the actual objects that exist in Staged construction.

    However, this is still possible in Staged Construction:

    g_i.Soil_2.deactivate(g_i.Phases[0])

    Answer Verified By: xiong qi 

  • hi Stefanos.

    thank you for your expound, that's what I'm trying to say. 

    My problem is solved well by the method you gave.

    thank you again

Reply Children
No Data