<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ccccff" text="#000000">
Hello,<br>
<br>
I'm a nwe pyvtk user and I've found <a
 href="http://public.kitware.com/pipermail/vtkusers/2006-August/086395.html">this
example</a> code to display atoms with vtk but I get the following
error:<br>
<br>
<i><font color="#cc0000">Traceback (most recent call last):<br>
&nbsp; File "vtkex.py", line 127, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; actorCreator.AddBonds(sample_atoms, sample_bonds)<br>
&nbsp; File "vtkex.py", line 38, in AddBonds<br>
&nbsp;&nbsp;&nbsp; self.polyData.SetPoints(atomPts)<br>
ValueError: method requires a VTK object<br>
<br>
</font></i><font color="#cc0000"><font color="#000000">Does someone can
tell why it doesn't work?<br>
I'm looking for more examples&nbsp; ....<br>
Thanks in advance,<br>
<br>
Regards,<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eric.<br>
</font></font>
<div class="moz-signature">-- <br>
<center>
<!--<em>
" Reason" in things existed
before things themselves existed <br>
and all the changes in things were governed by it.<br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Zhu Xi.</small>
</em>
--><em>
"Love, Gift from Life, is given naturally."<br>
</em>
<br>
<a href="http://lcr.epfl.ch/page37437.html">Eric Germaneau</a>
<!-- <img src="http://marie.epfl.ch/germanea/petit-pingoin.gif" align="middle" hspace="4" vspace="0"> --><br>
<small>
Ecole polytechnique
f&eacute;d&eacute;rale de Lausanne (EPFL)
<br>
FSB - IPMC <br>
<a href="http://lcr.epfl.ch">Laboratoire
de
Cristallographie(LCr)</a> <br>
BSP 518 <br>
CH-1015 Lausanne <br>
Switzerland <br>
<a href="mailto:eric.germaneau@epfl.ch">eric.germaneau@epfl.ch</a><br>
<em>Tel.</em>: +41 (0)21 / 693 06 36<br>
<em>Fax.</em>: +41 (0)21 / 693 05 04<br>
<!--<br>
<em><u>And by email in advance</u> ... </em><br> -->
<em>msn</em>: <a class="moz-txt-link-abbreviated" href="mailto:aihaike@hotmail.com">aihaike@hotmail.com</a><br>
<em>skype</em>: aihaike<br>
<br>
<em><font style="color: green;" color="#008000" face="Times">Please
consider the environment before printing this email - Consid&eacute;rez
svp l'environnement avant d'imprimer cet email</font></em>
</small></center>
</div>
</body>
</html>