<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Ole Wostryck Eiesland's Activities</title><link>https://communities.bentley.com/members/2140929b_2d00_663e_2d00_41bf_2d00_acc4_2d00_bc52a394f595</link><description>Ole Wostryck Eiesland's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Python API, SumMstage by step, slow</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/227936/python-api-summstage-by-step-slow</link><pubDate>Mon, 04 Apr 2022 08:14:49 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:62cdbfbe-473c-4897-b27a-d695545c0b75</guid><dc:creator>Ole Wostryck Eiesland</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I run the below python code to get output for graphs. The lines to get the SumMstage is very slow commpared to the getcurveresults. Can I please get some tips for how to speed up acquiring the step by step SumMstage? Thanks, Regards, Ole&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="python"&gt;mstage = []
Uy = []
phase = g_o.Phases[-1]
print(phase.Identification.value)

for step in phase.Steps:
    Uy.append(g_o.getcurveresults(g_o.Nodes[0],step,g_o.ResultTypes.Soil.Uy))
    mstage.append(step.Reached.SumMstage.value) #&amp;lt;----------- this line runs really slow compared to the one above
    print(step.Reached.SumMstage.value)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://communities.bentley.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Mon, 04 Apr 2022 02:58:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:89a22ceb-ffa6-4da6-96f9-0290b3987da8</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>