<div dir="ltr">What version of VTK are you using? Make sure you have VTK_Group_Views turned on in your build.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 14, 2014 at 2:31 AM, George <span dir="ltr"><<a href="mailto:george.gerber@gmail.com" target="_blank">george.gerber@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good day,<br>
I am trying to visualize a pipe network composed of nodes and pipes. It<br>
would be nice to be able to select in Paraview a node and see its pressure<br>
(scalar-value) or a pipe and see its flow (scalar value) or even pipe<br>
stiffness matrix.<br>
<br>
vtkGraph appears to be useful for visualising such a network. However, when<br>
I try to run the Edgeweigths.py example I get the following error:<br>
<br>
Traceback (most recent call last):<br>
File "C:\Users\george limited\Desktop\VTK_Edgeweigths.py", line 30, in<br>
<module><br>
graphLayoutView = vtk.vtkGraphLayoutView()<br>
AttributeError: 'module' object has no attribute 'vtkGraphLayoutView'<br>
<br>
Can somebody tell me how to get this example working?<br>
Best regards,<br>
George<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkGraph-Edgeweigths-example-in-python-not-working-tp5728706.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkGraph-Edgeweigths-example-in-python-not-working-tp5728706.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>