<?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>SET MATERIAL</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/204451/set-material</link><description>Hello, How can i set specified soil material by using python code ? ı mean i have three kind of soil volume but all i want to change just one of them.Is there someone who has an idea? thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: SET MATERIAL</title><link>https://communities.bentley.com/thread/615272?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 16:04:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:67fc6dc6-fbaa-4297-bd66-b8dc98160e41</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Emre,&lt;/p&gt;
&lt;p&gt;The first step is to try things using the graphic user interface and then identify the Python command:&lt;br /&gt;&lt;a href="/products/geotech-analysis/w/plaxis-soilvision-wiki/45454/identify-python-commands-from-plaxis-command-line"&gt;https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45454/identify-python-commands-from-plaxis-command-line&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, in this case the command:&lt;br /&gt;_setmaterial Soillayer_1.Soil Sand&lt;/p&gt;
&lt;p&gt;can be &amp;quot;translated&amp;quot; in Python to:&lt;br /&gt;g_i.Soillayer_1.Soil.setmaterial(g_i.Sand)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>