I'm interested whether I can add a custom property to a source I generate. What I'm now doing is the following:
renderView1 = GetActiveViewOrCreate('RenderView')
for pset in sphereParams:
sphere = Sphere()
sphere.Center = pset[0:3]
sphere.Radius = pset[3]
Show(sphere, renderView1)
spheres.append(sphere)
Now I would want to visualize the spheres such that the colour corresponds to another parameter which is stored also in the sphereParams vector. How does one add such a property to a Paraview source?
Thanks!