<?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>specify borehole water condition using python</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/204484/specify-borehole-water-condition-using-python</link><description>Hi . Hopefully an easy question, but i cant find the answer anywhere myself. 
 I am creating a model using python. 
 I want to amend the water condition for some of the soil layers in the borehole to Hydrostatic or Interpolate, but i cant quite get the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: specify borehole water condition using python</title><link>https://communities.bentley.com/thread/615134?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 08:03:18 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6dacd20a-7448-45c7-8815-0650800580a5</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Natalie,&lt;/p&gt;
&lt;p&gt;I have already replied to your colleague via the service request submitted about this topic.&lt;/p&gt;
&lt;p&gt;In principle, you can always try first in the graphic user interface and then see the PLAXIS command generated in the command line. Then, it is only a matter of identifying the Python command structure.&lt;/p&gt;
&lt;p&gt;This is also explained here:&lt;br /&gt;&lt;a href="https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45454/identify-python-commands-from-plaxis-command-line"&gt;communities.bentley.com/.../identify-python-commands-from-plaxis-command-line&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, by changing it manually the command generated is:&lt;br /&gt;_set Soillayer_2.PorePressure.BoreholeValues[0].ptop -10&lt;/p&gt;
&lt;p&gt;The Python version is the following:&lt;br /&gt;g_i.Soillayer_2.PorePressure.BoreholeValues[0].ptop = -10&lt;/p&gt;
&lt;p&gt;Note that we also have a Scripting reference that can assist with finding the Python commands that are documented in the Command reference:&lt;br /&gt;&lt;a href="https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45447/scripting-reference-and-how-to-use-it"&gt;communities.bentley.com/.../scripting-reference-and-how-to-use-it&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>