<?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>Python scripting for beginners</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/204805/python-scripting-for-beginners</link><description>Hello everyone, 
 I am a complete beginner with Python as well as the Python scripting for Plaxis use. 
 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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Python scripting for beginners</title><link>https://communities.bentley.com/thread/616333?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 10:23:37 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e2cb9d80-2016-458f-a5ce-c7e432b2937e</guid><dc:creator>Tomasz Daktera</dc:creator><description>&lt;p&gt;Hello Stefanos,&lt;/p&gt;
&lt;p&gt;many thanks. I just sent a request through the service request manager concerning some Python code !&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Python scripting for beginners</title><link>https://communities.bentley.com/thread/615998?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 08:36:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:10b29f14-0e9e-4fa4-9aea-774afe2ead4d</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Tomasz,&lt;/p&gt;
&lt;p&gt;Indeed you have a typo exactly in line 17 and you say &lt;em&gt;g.ipolygon(*boundaries)&lt;/em&gt; while it should be &lt;em&gt;g&lt;strong&gt;_&lt;/strong&gt;i.polygon(*boundaries)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Python is very strict with typos and here the g is recognized first as a variable not defined as it is separated with a dot. Of course, you define the variable g_i above.&lt;/p&gt;
&lt;p&gt;Note that there is documentation about every command that is available and some extra examples provided with our Scripting reference (in V20.04):&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343671/pastedimage1603442156847v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&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>