<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#0000ff"><span id="result_box" class="" lang="en"><span class="hps">The</span> <span class="hps">obj</span> <span class="hps">array has</span> <span class="hps">five</span> <span class="hps">elements</span> <span class="hps">and</span> <span class="hps">you assigned</span> <span class="hps">6</span><span>.</span></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-10 7:00 GMT-04:00 Manjunath K E <span dir="ltr"><<a href="mailto:ke.manjunath@gmail.com" target="_blank">ke.manjunath@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi ,<br><br></div>I have executed the following code in VTKPYTHON interpreter. (6.2 version)<br><br>=================================<br>>>> from vtk import *<br>>>> obj=vtkFloatArray()<br>>>> obj.SetNumberOfValues(5)<br>>>> obj.SetValue(0,1)<br>>>> obj.SetValue(1,2)<br>>>> obj.SetValue(2,3)<br>>>> obj.SetValue(3,4)<br>>>> obj.SetValue(4,5)<br>>>> obj.SetValue(5,6)<br>>>> obj.GetRange()<br><b>(0.0, 0.0)</b><br>===========================<br><br><br></div>From the above code, it can be seen that the GetRange() function is not working properly.<br></div>Although, the range of "obj" is (1,6), it is printing incorrectly as (0,0).<br><br></div>Could any1 pls help me in solving this.<br><br><div><div></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#ff0000"> </font><font color="#ff6600">Thanks and Regards,</font></div><div><font color="#3366ff"><br></font></div><div><span style="color:rgb(51,102,255)"> Manjunath K E</span><font color="#3366ff"></font></div><div><font color="#3366ff"><span style="color:rgb(241,194,50)"> Help Ever Hurt Never</span><br></font></div><div><font color="#3366ff"> </font></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><span style="background-color:rgb(255,255,255)"><b>Prof. Lindeval Fernandes de Lima<br></b></span></div><span style="background-color:rgb(255,255,255)"><b><br>Telefones para contato</b>:<br></span></div><span style="background-color:rgb(255,255,255)">Celular: (095) 81215424<br></span><div><div><div><div>Coordenação EaD: (095) 3624 - 6426<br></div><div><br></div></div></div></div></div></div>
</div>