<?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>Remote scripting and get_equivalent function</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/206826/remote-scripting-and-get_equivalent-function</link><description>Hello, I am using remote scripting on Plaxis 3D (usign Spyder), and I am having an issue when trying to use the function get_equivalent (to obtain an equivalent entity on Plaxis Output). I am following the example script for the addcurvepoint command</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Remote scripting and get_equivalent function</title><link>https://communities.bentley.com/thread/624730?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 17:55:51 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:08b1dca7-b364-42a6-8d6c-02aedc44b21e</guid><dc:creator>Stefanos Papavasileiou</dc:creator><description>&lt;p&gt;Dear Juan,&lt;/p&gt;
&lt;p&gt;When using Spyder maybe you are missing some important files included in our Python distribution. Nowadays we offer the possibility to install the required packages in a custom Python distribution as shown in the screenshot below:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343671/configure_5F00_Python_5F00_interpreter.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Have you tried this option?&lt;/p&gt;
&lt;p&gt;Note that with Spyder you can also configure it to point to the Python distribution we deliver.&amp;nbsp;Look for the instructions of your IDE environment, or search online, like e.g. Anaconda with Spyder: &lt;a href="https://stackoverflow.com/questions/43592879/how-to-change-python-version-in-anaconda-spyder"&gt;https://stackoverflow.com/questions/43592879/how-to-change-python-version-in-anaconda-spyder&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And by using the Python distribution by PLAXIS you can also install any extra modules you need:&lt;br /&gt;&lt;a href="/products/geotech-analysis/w/plaxis-soilvision-wiki/51822/how-to-install-additional-python-modules-in-plaxis"&gt;How to install additional Python modules in PLAXIS - PLAXIS | SOILVISION Wiki - PLAXIS | SOILVISION - Bentley Communities&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Despite that, I would say that you could define the function to have the points from Input as direct parameters, instead of using the get_equivalent, so:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;select_points_for_curves(g_i.Point_1.x,&amp;nbsp;g_i.Point_1.y,&amp;nbsp;g_i.Point_1.z)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then, the function can open Output and use the coordinates with the &lt;em&gt;addcurvepoint&lt;/em&gt; command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Note, that since I cannot see the full code, I might be missing but nevertheless, I hope that this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>