Thank you Utkarsh, this solved my problem.
-Original Message-
From: Utkarsh Ayachit [mailto:[EMAIL PROTECTED]
Sent: 21 November 2008 09:35 PM
To: Louis Le Grange
Cc: [EMAIL PROTECTED] Org
Subject: Re: [Paraview] Why does this programmable source not work outside
the paraview GUI
The
The answer is simple: you are missing the UpdateVTKObjects() call to
'apply' the change to the property.
If you going to use ...GetProperty("..").SetElement(...) API then after
the property has been set, one must call proxy.UpdateVTKObjects().
so in your example:
...
pgsrc.GetProperty("Script
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