<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>

<div dir="ltr"><br clear="all"><br>Hello<br><br>I'm connecting to a remote server to get the data then I'm doing some volume rendering on that data<br><br>I want to be able to view the rendered object and save that in a png file<br>
<br>but the problem that I do not get a clear view of the object it is too small and not in the right place <br><br>, when I run the script on the local machine I get a good view<br><br>I attached a screen shoot of what I get when connecting to the server with the Reverse connection <br>
<br><br>and this is my code<br><br><br>from paraview import simple as pvsimple<br>from paraview.simple import *<br><br>pvsimple.ReverseConnect('12345')<br>File_Name = '/............./1.700E-02.xmf'<br>test_xmf = pvsimple.XDMFReader( FileName= File_Name )<br>
test_xmf.UpdatePipeline()<br>RenderView1 = pvsimple.GetRenderView()<br>CellDatatoPointData2 = pvsimple.CellDatatoPointData()<br>CellDatatoPointData2.UpdatePipeline()<br>rep = pvsimple.Show(CellDatatoPointData2,RenderView1)<br>
rep.Representation = 'Volume'<br>Render()<br>RenderView1.WriteImage("example.png","vtkPNGWriter",4)<br>&nbsp;&nbsp;&nbsp; <br><br>
</div>

<br>                                               </div></body>
</html>