[Paraview] Pavaview Scripting: creating objects in Paraview window(instead of an external "OpenGL" one)

Sylvester Gerardson sylvester.gerardson at gmail.com
Thu Feb 21 02:48:21 EST 2008


Olumide,

Try view = servermanager.GetRenderView() in stead of view =
servermanager.CreateRenderView().

Sylvester

> -----Original Message-----
> From: 
> paraview-bounces+sylvester.gerardson=gmail.com at paraview.org 
> [mailto:paraview-bounces+sylvester.gerardson=gmail.com at paravie
w.org] On Behalf Of Robert Maynard
> Sent: Wednesday, February 20, 2008 9:34 AM
> To: Olumide; paraview at paraview.org
> Subject: Re: [Paraview] Pavaview Scripting: creating objects 
> in Paraview window(instead of an external "OpenGL" one)
> 
> If you use the python terminal that is built into paraview everything 
> should show up correctly, the only thing you will have to 
> learn is how 
> to properly register items with the paraview proxy manager so 
> that you 
> can also use the items from the Qt interface. The manual you 
> have should 
> have a section on registering items.
> 
> Olumide wrote:
> > Hello,
> >
> > I'm gotten my hands on the "Paraview Scripting with Python" doc and 
> > I'm working though the code examples. It seems to me that 
> the objects 
> > that are created via the python "commands" are created in 
> an external 
> > window and not inside Paraview itself (I prefer the 
> latter). Is there 
> > a way to have objects created by a python script appear in the 
> > Paraview window?
> >
> > Thanks,
> >
> > - Olumide
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list