Python Script: extrude multiple surfaces to volumes

Hi,

I am trying to use Python script in Plaxis to automate my work and I am stuck with extruding multiple surfaces to volumes:

here is my code:

for i in range(1000):
    g_i.extrude((g_i.Polygon_i), 0, 0, 1)
the error message:
AttributeError: Requested attribute 'Polygon_i' is not present
Please note I need to extrude thousands of surfaces and it will vary based on the different problems. 
Thank you very much for your reply!
Parents Reply Children
No Data