Oops, shame on me ! I didn&#39;t recognize python code... I only use standalone paraview, I am not aware on parallel computing and MPI stuff. But I am sure you can! I know that you can add sources and filters from python script, you got it, thanks to servermanager. You will need the XML I gave, and register the source proxy to servever manager. The paraview guide describes that very well.<br>
<br>Sorry again !<br>Jerome<br><br><div class="gmail_quote">2009/9/11 young_jh123 <span dir="ltr">&lt;<a href="mailto:young_jh123@qq.com">young_jh123@qq.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div style="margin: 10px; font-family: verdana; font-size: 10pt;">
<div><font size="2" color="#000080" face="Verdana">Thanks a lot!&nbsp; I am so glad 
that&nbsp;someone pointd out what my next step to learn about 
Paraview.</font></div>
<div><font color="#000080"></font>&nbsp;</div>
<div><font size="2" color="#000080" face="Verdana">&nbsp;Actually the code I type is 
Python,not c++</font></div>
<div><font color="#000080"></font>&nbsp;</div>
<div><div class="im">
<div><font size="2">plato =&nbsp;vtkPlatonicSolodSource()</font></div>
<div><font size="2">plate.SetSolidType(3)</font></div>
<div>&nbsp;</div>
</div><div>I use the Paraview Client-Server mode ,and want to do some parallel 
computing.The Server is Linux cluster,and The client is Windows.</div>
<div>I want to know&nbsp;if I&nbsp;can just&nbsp;use &nbsp;python script&nbsp;on 
client to&nbsp;manager the server how to parallel computing.I 
means&nbsp;if&nbsp;I can use&nbsp;the client </div>
<div>python script&nbsp;to import&nbsp;MPI function&nbsp;,and then let the 
servar do&nbsp;parallel jobs.I&nbsp;have installed the paraview&nbsp;enable MPI 
on Server.If&nbsp;</div>
<div>the client python script&nbsp;could not &nbsp;fulfill that job.Should I 
write a plugin on Server use C++,and then in there I use the MPI? </div>
<div>Sorry for my ugly English .May you have a good day!</div></div><div class="im">
<div><font size="2" color="#000080" face="Verdana"></font>&nbsp;</div>
<div><font size="2" color="#000080" face="Verdana"></font>&nbsp;</div>
<div><font size="2" color="#c0c0c0" face="Verdana">2009-09-11 </font></div><font size="2" color="#000080" face="Verdana">
<hr style="width: 100px;" size="1" align="left" color="#b5c4df">
</font>
<div><font size="2" color="#c0c0c0" face="Verdana"><span>young_jh123</span> 
</font></div>
</div><hr size="1" color="#b5c4df">

<div><font size="2" face="Verdana"><b>发件人:</b> J閞鬽e </font></div>
<div><font size="2" face="Verdana"><b>发送时间:</b> 2009-09-11&nbsp; 17:07:56 
</font></div>
<div><font size="2" face="Verdana"><b>收件人:</b> young_jh123 </font></div>
<div><font size="2" face="Verdana"><b>抄送:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a> 
</font></div>
<div><font size="2" face="Verdana"><b>主题:</b> Re: [Paraview] How to render 
a vtk object on Paraview GUI </font></div>
<div><font size="2" face="Verdana"></font> </div>
<div><font size="2" face="Verdana"><div class="im">Hi,<br><br>find attached an xml that exposes the 
vtkPlatonicSolidSource in the paraview sources menu. Load it from the 
tools-&gt;&quot;Manage plugins&quot; menu. At least it will allow you to create a platonic 
solid in paraview GUI. But I don&#39;t understand why you want to ask for it in 
C++.<br>Maybe you want a plugin (autostart or toolbar) to do that ? If yes, take 
a look at the object builder :<br>&nbsp;&nbsp; pqApplicationCore* core = 
pqApplicationCore::instance();<br>&nbsp;&nbsp; pqObjectBuilder* builder = 
core-&gt;getObjectBuilder();<br><br>From current core instance&#39;s object builder, 
you will be able to create servers, sources, filters,...<br><br>&#39;Hope that 
helps.<br><br>Jerome<br><br><br>
</div><div class="gmail_quote"><div class="im">2009/9/11 young_jh123 <span dir="ltr">&lt;<a href="mailto:young_jh123@qq.com" target="_blank">young_jh123@qq.com</a>&gt;</span><br>
</div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
  <div style="margin: 10px; font-family: verdana; font-size: 10pt;">
  <div><font size="2" face="Verdana"></font>&nbsp;</div><div><div></div><div class="h5">
  <div><font size="2" face="Verdana">
  <div><font size="2">I use Paraview on Windows.I want to render a vtk object on 
  the Paraview gui,not the vtk window.</font></div>
  <div><font size="2">I don&#39;t konw if the servermanager can do it.Just like 
  below:</font></div>
  <div><font size="2"></font>&nbsp;</div>
  <div><font size="2">plato =&nbsp;vtkPlatonicSolodSource()</font></div>
  <div><font size="2">plate.SetSolidType(3)</font></div>
  <div><font size="2"></font>&nbsp;</div>
  <div><font size="2">what should I do&nbsp;next&nbsp;to add the plato on the 
  pipeline browser,and render it ?</font></div></font></div>
  <div align="left"><font size="2" color="#c0c0c0" face="Verdana">2009-09-11 
  </font></div><font size="2" face="Verdana">
  <hr style="width: 122px; height: 2px;" size="2" align="left">

  <div><font size="2" color="#c0c0c0" face="Verdana"><span>young_jh123</span> 
  </font></div></font></div></div></div><br><div class="im">_______________________________________________<br>Powered 
  by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source 
  projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please 
  keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to 
  subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br><br></div></blockquote></div><br></font></div></div>
</blockquote></div><br>