<?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>Setting DefaultValuesAdvanced using Plaxis Python API</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/230296/setting-defaultvaluesadvanced-using-plaxis-python-api</link><description>I have a very specific question. 
 I am trying to create a material using the Plaxis Python API. The script has been used repeatedly for many different materials but I have encountered a bug whereby DefaultValuesAdvanced ends up False even though my input</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Setting DefaultValuesAdvanced using Plaxis Python API</title><link>https://communities.bentley.com/thread/714119?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 21:47:08 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:61d72c34-5e7a-4f7b-bd96-319db1fd47a1</guid><dc:creator>Micha van der Sloot</dc:creator><description>&lt;p&gt;Hi Rebecca,&lt;/p&gt;
&lt;p&gt;With the command above, the K0NC value gets set to 1.0. As in PLAXIS V21 and earlier, the DefaultValuesAdvanced is an implicit value (i.e. the value will show as checked when vu_ur = 0.2, p_ref = 100 and K0NC = 1 - sin(phi)).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;So adding the K0NC value to the command will work:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="font-family:consolas, &amp;#39;courier new&amp;#39;, monospace;"&gt;soilmat (&amp;quot;Colour&amp;quot; 11854222) (&amp;quot;SoilModel&amp;quot; 4) (&amp;quot;DrainageType&amp;quot; 0) (&amp;quot;gammaUnsat&amp;quot; 21) (&amp;quot;gammaSat&amp;quot; 21) (&amp;quot;K0Determination&amp;quot; &amp;quot;Manual&amp;quot;) (&amp;quot;DefaultValuesAdvanced&amp;quot; True) (&amp;quot;perm_primary_horizontal_axis&amp;quot; 0.000864) (&amp;quot;perm_vertical_axis&amp;quot; 0.0001728) (&amp;quot;cref&amp;quot; 100) (&amp;quot;phi&amp;quot; 20) (&amp;quot;psi&amp;quot; 0) (&amp;quot;E50ref&amp;quot; 110000) (&amp;quot;EoedRef&amp;quot; 110000) (&amp;quot;EurRef&amp;quot; 300000) (&amp;quot;powerm&amp;quot; 0) (&amp;quot;gamma07&amp;quot; 0.00015) (&amp;quot;G0ref&amp;quot; 250000) &lt;strong&gt;(&amp;quot;K0NC&amp;quot; 0.65797985667)&lt;/strong&gt; (&amp;quot;MaterialName&amp;quot; &amp;quot;Char_mdst_30_40&amp;quot;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that you also set the initial stress co&amp;euml;fficient K0 to manual, but you do not set a value. This means that they will remain 1 as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that with PLAXIS V22, we made these settings and default checkmarks explicit settings, so there it will work. Please be aware that some property names have changed in the new version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>