<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Is it possible to read out outputs for a selection of plate elements using getresults()?</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/239742/is-it-possible-to-read-out-outputs-for-a-selection-of-plate-elements-using-getresults</link><description>I wonder if it is possible to read outputs from plate elements only for the parts that are currently displayed in Output. 
 I have a model for a circular shaft in Plaxis3D for which I want to hide some parts of the plate sections. I am interested in reading</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is it possible to read out outputs for a selection of plate elements using getresults()?</title><link>https://communities.bentley.com/thread/754583?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 08:40:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:55cf1f9d-d796-4928-a6e2-6e4e3e850132</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Luan,&lt;/p&gt;
&lt;p&gt;There is no difference between positive and negative interfaces for PLAXIS; they are both &lt;em&gt;Interface&lt;/em&gt; elements.&lt;/p&gt;
&lt;p&gt;The approach I usually take is to use the name of the object, e.g.&amp;nbsp;&lt;span&gt;&lt;em&gt;NegativeInterface_1&lt;/em&gt; in the &lt;em&gt;getresults&lt;/em&gt; command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can find examples in our Command reference on how to do this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In short:&lt;/span&gt;&lt;/p&gt;
&lt;pre class="pre codeblock"&gt;getresults &lt;span&gt;NegativeInterface_1&amp;nbsp;&lt;/span&gt;Phases[-1] ResultTypes.Inteface.InterfaceEffectiveNormalStress &amp;quot;node&amp;quot;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to read out outputs for a selection of plate elements using getresults()?</title><link>https://communities.bentley.com/thread/754548?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 04:17:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:06a1c878-2c17-4e68-ab74-036065f86184</guid><dc:creator>Luan Nguyen</dc:creator><description>&lt;p&gt;Thank you, Stefanos, for the answer! The same issue arises when one wants to read the resulting forces along the interface. Plaxis API doesn&amp;#39;t seem to differentiate between a negative interface and a positive interface.&lt;/p&gt;
&lt;p&gt;Usually, I use the following Python code like this to read what I want in the interface.&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#9cdcfe;"&gt;negativeInterfaceEffectiveNormalStress&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;g_o&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;.getresults(&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;phase_o&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;, &lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;g_o&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;.ResultTypes.Interface.InterfaceEffectiveNormalStress, &lt;/span&gt;&lt;span style="color:#ce9178;"&gt;&amp;#39;node&amp;#39;&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Could you please let me know how to specify it to read only the NegativeInterface_1?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/343671/Unbenannt.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Luan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to read out outputs for a selection of plate elements using getresults()?</title><link>https://communities.bentley.com/thread/747026?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 08:22:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7b7f52e0-bd03-456f-b8dc-029c0311d4d5</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Luan,&lt;/p&gt;
&lt;p&gt;The API is not aware of visualisation changes when you query results. Consider that when you run a command to retrieve the values, you are accessing the data files via the command line.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A different approach would be to query results based on their object names for which you will know which is active and which is not.&lt;/p&gt;
&lt;p&gt;For example, the following command will give the results for all plates:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;getresults Phases[-1] ResultTypes.Plate.Utot &amp;quot;node&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;But this one only for Plate_1_1&lt;/p&gt;
&lt;p&gt;&lt;em&gt;getresults Plate_1_1&amp;nbsp;Phases[-1] ResultTypes.Plate.Utot &amp;quot;node&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For more information check the examples in our Command reference (under Help menu) or in the Scripting reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>