<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 "omniORBpy-4.2.2.-win64-python2.7" 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>>>> mapdl_output = mapdlUnit.executeCommandToString('aas_parameter_test = 22')<br>
</span>
<div>Traceback (most recent call last):<br>
</div>
<div> File "<stdin>", line 1, in <module><br>
</div>
<div> File "ICoMapdlUnit_idl.py", line 206, in executeCommandToString<br>
</div>
<div> return self._obj.invoke("executeCommandToString", _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? <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>