[Paraview] Getting Python object reference to representation/proxy of each object loaded in Paraview.

Deij, Menno M.Deij at marin.nl
Tue Feb 28 02:31:54 EST 2012


sources = GetSources()

In the Python shell you can type dir() to see all the available commands at any given time. Importing modules will make more commands available.

for command in dir():
        print command

Gr,
Menno



dr. ir. Menno A. Deij
Software Engineer
Maritime Simulation Group
E mailto:M.Deij at marin.nl
T +31 317 49 35 06

MARIN
2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
T +31 317 49 39 11, F , I www.marin.nl

-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Olumide
Sent: Monday, February 27, 2012 9:33 PM
To: paraview at paraview.org
Subject: Re: [Paraview] Getting Python object reference to representation/proxy of each object loaded in Paraview.

On 2/27/2012 3:00 PM, Deij, Menno wrote:
> In that case you want to use a Transform filter. Add it after your
> source and
> then open the Animation view. In your animation view add the transform
> rotation,
> for instance Rotate(0). Animate it from the first to the last value in the
> desired amount of steps & save the animation.

Thanks.

BTW, how can I get all the sources in a scene, using Python.

_______________________________________________
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


More information about the ParaView mailing list