[Paraview-developers] Line drawing code works in 32-bit but not 64-bit

Hallock, Kevin Kevin.Hallock at pfizer.com
Fri Apr 29 11:27:58 EDT 2016


Hi everyone,

The following code works when used in a Programmable Source in 32-bit Paraview on Windows, but not in the 64-bit version:

from paraview import vtk
line = paraview.simple.Line()
paraview.simple.SetProperties(Point1=[1, 1, 0],Point2=[0, 0, 1])
tube = paraview.simple.Tube(line)
paraview.simple.SetProperties(Radius=0.01)
generateIds = paraview.simple.GenerateIds(tube)
paraview.simple.Show()

The error is:

AttributeError: ‘module’ object has not object ‘simple’

Any suggestions?

Thanks,

Kevin

--
Kevin Hallock
Visualization and Modeling, Quantitative Medicine
Neuroscience and Pain Research Unit
Worldwide Research and Development
Pfizer Inc
610 Main Street
Cambridge, MA 02139
Email: kevin.hallock at pfizer.com<mailto:kevin.hallock at pfizer.com>
Fax: 845-474-4001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160429/79c644a4/attachment.html>


More information about the Paraview-developers mailing list