Hello everyone,
I want to do pseudostatic analysis with Python scripting. However, I cannot find the right command to activate pseudostatic load as I would in Staged construction on the GUI. Does anyone know how to do this? I tried both set and setproperties but it does not work.
g_i.setproperties.Pseudostatic("Acceleration_x", 0.1, "Acceleration_x", 0.05)
My other question is I want to select a few nodes for which I want to know their displacement and save it in an output excel. How can I do that? Selectmeshpoint? Or other? Do I get the results with getsingleresults or else? It doesn't seem to work for me...
g_o.getsingleresult(Phase_2, g_o.ResultTypes.Uy, ("Point_1"), True)
Thanks for the help!!
Hello Krisztina,
To use Python for Pseudostatic, you need to activate it first then assign a value to that. E.g.:
g_i.activate(g_i.PseudoStatic, g_i.Phase_5)
g_i.set(g_i.PseudoStatic.AccelX, g_i.Phase_5, 0.5)
An example of a syntax to extract a single value of a point:
v = g_o.getsingleresult(g_o.Phase_5, g_o.ResultTypes.Soil.Uy, (5, 5))More details of its description, you can go to Help/ command reference. After doing so for some points, create a list and you may use pandas to export it to csv. Please find some more information of pandas, which is popular and easy to get it from a search on website.