Hi
Should I be able to paste a series of commands into the GUI Python shell and
then get the interpreter to process those?
Perhaps its an issue about eol characters?
In any case, I can paste 1 line but not a series of lines like the
following:
import vtk
pts=vtk.vtkPoints()
pts.I
.GetProperty("Script").SetElement(0, """ ... """)
pgsrc.UpdateVTKObjects()
Alternatively you can simply do:
pgsrc.Script = """."
and then you don't have to worry about calling UpdateVTKObjects().
Utkarsh
Louis at M-Tech wrote:
&g
Hi
I got programmable filter to work outside the paraview GUI - but still not
the programmable source; See the example below - if you want to try out the
programmable source, just set ptr = pgsrc instead of ptr = pgflt - see
below.
I am still puzzled why the programmable source does not wo
Hi All,
Why does this piece of code containing a programmable source not work
OUTSIDE the paraview GUI?
a) When the source is changed to ConeSource() it works (see Label 1 in the
code below).
b) Also when the Script content is pasted inside the paraview GUI scripting
editor, it does wor