<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello everybody,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I want to link Ansys 19.0 to Python 2.7.16 with &quot;omniORBpy-4.2.2.-win64-python2.7&quot; on Windows 10 and I followed the instructions from this video published by Ansys:<br>
<br>
<a href="https://www.youtube.com/watch?v=bSP9pi-4QW0" id="LPNoLP449398">https://www.youtube.com/watch?v=bSP9pi-4QW0</a><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Everything goes well, the folders and the aaS_MapdlId.txt are created and linked, CORBA and AAS_CORBA can be imported in Python but when I want to enter a parameter into Ansys the following error occurs:<br>
<br>
<span>&gt;&gt;&gt; mapdl_output = mapdlUnit.executeCommandToString('aas_parameter_test = 22')<br>
</span>
<div>Traceback (most recent call last):<br>
</div>
<div>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
</div>
<div>&nbsp; File &quot;ICoMapdlUnit_idl.py&quot;, line 206, in executeCommandToString<br>
</div>
<div>&nbsp; &nbsp; return self._obj.invoke(&quot;executeCommandToString&quot;, _0_AAS_CORBA.MAPDL.Solvers.ICoMapdlUnit._d_executeCommandToString, args)<br>
</div>
<span>omniORB.CORBA.TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
When Ansys MAPDL is launched in -aas I get the message that it is connected to the MAPDL RPC server, so that is working fine.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Does anybody know what could be the problem?&nbsp;<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks in advance for the help!</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
With kind regards,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Wouter</div>
</body>
</html>