<?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>Tomasz Daktera's Activities</title><link>https://communities.bentley.com/members/b6399513_2d00_161d_2d00_40c8_2d00_8898_2d00_598ee8144858</link><description>Tomasz Daktera's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Scripting reference</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/196267/scripting-reference</link><pubDate>Mon, 27 Apr 2020 09:31:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1db71e6c-5c40-4551-9ff5-fdc3a5481f4e</guid><dc:creator>Dina Hansen</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a question regarding the scripting reference in&amp;nbsp;&lt;span class="knowledge-base-applications__name"&gt;&lt;a href="https://www.plaxis.com/support/?application=4445"&gt;PLAXIS 2D CONNECT Edition V20&lt;/a&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.plaxis.com/support/python-scripts/scripting-reference-and-how-to-use-it/"&gt;https://www.plaxis.com/support/python-scripts/scripting-reference-and-how-to-use-it/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is this scripting reference available as a PDF somewhere? I have PLAXIS 2018, and I do not&amp;nbsp; have access to the scripting reference in PLAXIS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dina Hansen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Python scripting for beginners</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/204805/python-scripting-for-beginners</link><pubDate>Wed, 21 Oct 2020 07:50:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3750103a-1123-4763-bf66-fc401ee0d2f6</guid><dc:creator>Tomasz Daktera</dc:creator><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I am a complete beginner with Python as well as the Python scripting for Plaxis use.&lt;/p&gt;
&lt;p&gt;I have searched through the web and the Bentley Communities and I couldn&amp;#39;t find any topic related to basic scripting such as drawing simple geometries and a simple use of Python in general.&lt;/p&gt;
&lt;p&gt;Therefore my discussion topic for beginners.&lt;/p&gt;
&lt;p&gt;My first question is (very basic... I know, but I have no clue how to deal with it...)&lt;/p&gt;
&lt;p&gt;Why does my script doesn&amp;#39;t work (Plaxis 2D) ?&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;from plxscripting.easy import *&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;s_i, g_i = new_server(&amp;#39;localhost&amp;#39;, 10000, password=&amp;#39;&amp;gt;$viK!uhVhx9PB8Ss&amp;#39;)&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;g_i.gotostructures()&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;x_min = -10&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;x_max = 10&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;y_min = -10&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;y_max = 10&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;boundaries =[]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;boundaries.append([x_min,y_min])&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;boundaries.append([x_max,y_min])&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;boundaries.append([x_max,y_max])&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;boundaries.append([x_min,y_max])&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;g_i.polygon(*boundaries)&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;The error is the following (line 17 is&amp;nbsp;&lt;em&gt;g.i.polygon(*boundaries))&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;em&gt; File &amp;quot;testpython1.py&amp;quot;, line 17, in &amp;lt;module&amp;gt;&lt;br /&gt; g.i.polygon(*boundaries)&lt;br /&gt;NameError: name &amp;#39;g&amp;#39; is not defined&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Thanks for any tips,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;em&gt;EDIT : I found the error. Syntax error.&amp;nbsp;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Unable to assign platemat properties in commands runner</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/204740/unable-to-assign-platemat-properties-in-commands-runner</link><pubDate>Tue, 20 Oct 2020 11:14:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:478484ab-a100-4ac2-87ed-9650d65fda02</guid><dc:creator>Tomasz Daktera</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am unable to assign properties to my plate by the commands runner.&lt;/p&gt;
&lt;p&gt;If I run only that : _platemat &amp;quot;MaterialName&amp;quot; &amp;quot;Paroi gauche&amp;quot; &amp;quot;MaterialNumber&amp;quot; 0 &amp;quot; IsIsotropic&amp;quot; True &amp;quot;PreventPunching&amp;quot; True&amp;nbsp; &amp;quot;EA&amp;quot; 20000000 &amp;quot;EI&amp;quot; 1666667 &amp;quot;nu&amp;quot; 0.2 &amp;quot;w&amp;quot; 0.15&lt;/p&gt;
&lt;p&gt;It tells me :&lt;/p&gt;
&lt;p&gt;Normal stiffness is zero!&lt;br /&gt;Enter proper EA value.&lt;/p&gt;
&lt;p&gt;I think those parameters (EA, EI, nu, w) should be enough as it calculates automatically the thickness of the plate right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for any help ...&lt;/p&gt;
&lt;p&gt;Tomasz&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, 19 Oct 2020 06:51:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8370e27b-fc44-4837-8ca1-50d596ab4a0d</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Setting the material of a soil with command line</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/204682/setting-the-material-of-a-soil-with-command-line</link><pubDate>Mon, 19 Oct 2020 12:48:44 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2d26785d-c3e0-4cfb-bfb9-5f4ddcbd8f18</guid><dc:creator>Tomasz Daktera</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;My question is probably obvious - but I haven&amp;#39;t found the answer on the forum.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to create a soil material with the command line.&lt;/p&gt;
&lt;p&gt;How can I do that ?&lt;/p&gt;
&lt;p&gt;I found the following :&lt;/p&gt;
&lt;p&gt;soilmat &amp;quot;Name&amp;quot; &amp;quot;SoilMat1&amp;quot; &amp;quot;MaterialName&amp;quot; &amp;quot;&amp;lt;NameInDBList&amp;gt;&amp;quot; &amp;quot;SoilModel&amp;quot; 2 &amp;quot;Gref&amp;quot; 1250&lt;/p&gt;
&lt;p&gt;I added &amp;quot;Cref&amp;quot; 50 to that which allows me to set a cohesion in the Mohr Coulomb soil model soil.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;What are the names of the other variables like the friction angle, moduli, Rinter etc. ? Where could I find a complete list for all soil models ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;Tomasz&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>