<?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/"><channel><title>Dina Hansen's Activities</title><link>https://communities.bentley.com/members/736a6df3_2d00_e20f_2d00_4a26_2d00_af39_2d00_5903d97285b6</link><description>Dina Hansen's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Set global waterlevel with Python</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/208313/set-global-waterlevel-with-python</link><pubDate>Tue, 12 Jan 2021 13:21:51 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7047b932-bb44-4139-8c5e-faf6724a620c</guid><dc:creator>Dina Hansen</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have created a water level in &amp;quot;flow conditions&amp;quot; with the following Python command:&lt;/p&gt;
&lt;p&gt;g_i.gotoflow()&lt;br /&gt;g_i.waterlevel((-1,-6),(9,-6),(9,0),(19,0))&lt;/p&gt;
&lt;p&gt;This worked out fine. Now I can&amp;#39;t find the right command to make this waterlevel global. I did this in GUI in Plaxis and this command appeared in the command line:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;_setglobalwaterlevel UserWaterLevel_1 InitialPhase&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have tried many different Python commands, but can&amp;#39;t find the the command with the right syntax in Python.&amp;nbsp;Can you please help me solving this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have any advice in general when solving this kind of problem?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When writing Python commands to Plaxis I usually use the command line (+echo and info), the scripting examples on Plaxis Soilvision and this forum to write commands in Python. Can you recommend any other tool when writing Python commands in Plaxis?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dina Hansen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ImportError: DLL load failed while importing _Blowfish: The specified module could not be found</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/206542/importerror-dll-load-failed-while-importing-_blowfish-the-specified-module-could-not-be-found</link><pubDate>Thu, 26 Nov 2020 19:38:27 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cd4146df-314b-4ac7-9a2a-48094fe72086</guid><dc:creator>Dina Hansen</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am trying to make a connection between Python (I use Spyder as IDE) and Plaxis.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have tried to run the following code:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;import sys&lt;/em&gt;&lt;br /&gt;&lt;em&gt;sys.path.append(r&amp;quot;C:\Program Files\Plaxis\PLAXIS 2D\python\Lib\site-packages&amp;quot;)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;from plxscripting.easy import*&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;to import the plxscripting library, but I get the following error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;ImportError: DLL load failed while importing _Blowfish: The specified module could not be found&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I have found modules named _Blowfish.pyd and Blowfish.py in the folder named Cipher. I tried to import other modules in plxscripting, and that worked out fine. For example:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;import sys&lt;/em&gt;&lt;br /&gt;&lt;em&gt;sys.path.append(r&amp;quot;C:\Program Files\Plaxis\PLAXIS 2D\python\Lib\site-packages&amp;quot;)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;from plxscripting.server import*&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Has anyone encountered the same problem?&lt;/p&gt;
&lt;p&gt;best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dina Hansen&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Scripting reference</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/196267/scripting-reference</link><pubDate>Mon, 27 Apr 2020 09:31:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1db71e6c-5c40-4551-9ff5-fdc3a5481f4e</guid><dc:creator>Dina Hansen</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a question regarding the scripting reference in&amp;nbsp;&lt;span class="knowledge-base-applications__name"&gt;&lt;a href="https://www.plaxis.com/support/?application=4445"&gt;PLAXIS 2D CONNECT Edition V20&lt;/a&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.plaxis.com/support/python-scripts/scripting-reference-and-how-to-use-it/"&gt;https://www.plaxis.com/support/python-scripts/scripting-reference-and-how-to-use-it/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is this scripting reference available as a PDF somewhere? I have PLAXIS 2018, and I do not&amp;nbsp; have access to the scripting reference in PLAXIS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dina Hansen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Plaxis scripting manual</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/192870/plaxis-scripting-manual</link><pubDate>Sun, 23 Feb 2020 20:40:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:dc57deac-e6c8-4f1b-876d-abcb4f8fa4af</guid><dc:creator>Muhammad Mohsan</dc:creator><description>&lt;p&gt;Hello dear,&lt;/p&gt;
&lt;p&gt;I am currently trying to produce the random fields of realization by Plaxis-Pythone scripting.I am looking for the &amp;quot;scripting manual&amp;quot;.I will appreciate if anyone provide/guide&amp;nbsp; me the scripting manual.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Mohsan&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TU Delft&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Remote scripting - an interface, add or functionality?</title><link>https://communities.bentley.com/products/geotech-analysis/f/forum/196523/remote-scripting---an-interface-add-or-functionality</link><pubDate>Fri, 01 May 2020 09:02:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8a6c97a7-c59a-410c-8396-85ba20152715</guid><dc:creator>Dina Hansen</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am a student at NTNU and I am currently working on a preparation project for my master&amp;#39;s thesis about Plaxis remote scripting and Python, and I have a couple of questions regarding remote scripting.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I am not sure how i should refer to &amp;quot;remote scripting&amp;quot;. Is remote scripting an interface, a functionality or an add-in? For example:&amp;nbsp; &amp;quot;Plaxis remote scripting is an add-in/a functionality/an interface/a technology that enables ...&amp;quot;.&amp;nbsp; What is correct?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;I also have a question about the API and Plaxis remote scripting. Does the API enable remote scripting, or is remote scripting one kind of API? I have pasted some information I found about this on Bentley Systems&amp;#39; web pages, but I still don&amp;#39;t get how remote scripting and the REST HTTP API is &amp;quot;connected&amp;quot;. I do not have a lot of knowledge about programming and I am having a hard time understanding this.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The PLAXIS software provides an HTTP based API (REST HTTP API), for which a special Python wrapper was developed for an easy to use scripting API. Both PLAXIS Input and PLAXIS Output support this usage of a Remote Scripting server.&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343671/pastedimage1588323172324v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dina Hansen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://communities.bentley.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Mon, 27 Apr 2020 08:09:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e35942fd-f85d-4bad-9f45-04803847ee09</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>