<?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>How to code /output in python?</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/219542/how-to-code-output-in-python</link><description>How can I code the following lines in Python for Plaxis 2D (2018)? Thank you. 
 _selectmeshpoints 
 /output addcurvepoint &amp;quot;Node&amp;quot; (1.4 0.0)</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to code /output in python?</title><link>https://communities.bentley.com/thread/673146?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 14:18:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:017bd3c6-fbd8-4a74-8e49-4e83e92eeb43</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Shokoufeh,&lt;/p&gt;
&lt;p&gt;The first command is written as follows:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;g_i.selectmeshpoints()&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The second command&amp;nbsp;is written as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;g_o.addcurvepoint(&amp;quot;node&amp;quot;, 1.4, 0)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note that the full workflow would be:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;localhostport_o = g_i.selectmeshpoints()&lt;br /&gt;s_o, g_o = new_server(&amp;#39;localhost&amp;#39;, localhostport_o, password=&amp;#39;your_password&amp;#39;)&lt;br /&gt;g_o.addcurvepoint(&amp;quot;node&amp;quot;, 1.4, 0)&lt;br /&gt;g_o.update()&amp;nbsp; # updates &amp;amp; closes Output&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>