Hello all,

I am writing a Python script to automatically generate a few (approximately
5-10) slices through a volume dataset (Image data--uniform grid). Each time
I attempt to use my Python script to generate the slices, set the origin
and normal vectors, the Qt GUI of Paraview 3.12.2 (Win32 binaries) app
crashes with an exception pointing to the vtkVolumeRendering DLL (read
access violation).  This problem is repeatable.

However, when I attempt to create the slices manually (with the GUI) I am
able to create them without issue.  Does anyone know what might be causing
this problem? Am I missing something in the script?

Here is a snippet of my code that I know to be the trouble spot ("r" as a
PVDReader object already in place):
____________________________________
....
        tempSlice=Slice(r)
 tempSlice.SliceType.Origin=[temp.org_x, temp.org_y, temp.org_z]
 tempSlice.SliceType.Normal = [temp.norm_x, temp.norm_y, temp.norm_z]
Show(tempSlice)
        ....

Thanks,
DJ
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to