[vtkusers] vtkGraph Edgeweigths example in python not working

Jeff Baumes jeff.baumes at kitware.com
Mon Sep 15 11:49:20 EDT 2014


What version of VTK are you using? Make sure you have VTK_Group_Views
turned on in your build.

On Sun, Sep 14, 2014 at 2:31 AM, George <george.gerber at gmail.com> wrote:

> Good day,
> I am trying to visualize a pipe network composed of nodes and pipes. It
> would be nice to be able to select in Paraview a node and see its pressure
> (scalar-value) or a pipe and see its flow (scalar value) or even pipe
> stiffness matrix.
>
> vtkGraph appears to be useful for visualising such a network. However, when
> I try to run the Edgeweigths.py example I get the following error:
>
> Traceback (most recent call last):
>   File "C:\Users\george limited\Desktop\VTK_Edgeweigths.py", line 30, in
> <module>
>     graphLayoutView = vtk.vtkGraphLayoutView()
> AttributeError: 'module' object has no attribute 'vtkGraphLayoutView'
>
> Can somebody tell me how to get this example working?
> Best regards,
> George
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkGraph-Edgeweigths-example-in-python-not-working-tp5728706.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140915/117bc22c/attachment.html>


More information about the vtkusers mailing list