[Paraview] how to know the type of a view?

Cory Quammen cory.quammen at kitware.com
Tue Sep 9 01:03:46 EDT 2014


Kazuyoshi,

You should be able to use

type(GetRenderView())

or

GetRenderView().GetClassName()

to find out what type of view you have.

Hope that helps,
Cory

On Tue, Sep 9, 2014 at 12:57 AM, Kazuyoshi Furutaka
<furutaka.kazuyoshi at jaea.go.jp> wrote:
> Dear ParaView experts...
>
> Is there any way to knwo what the type of a view is
> within a python macro (e.g. from the return value of
> GetRenderView())?
> I'd like to know whether an exisiting view is, say, a
> 'MultiSlice' or not (and create one if none exists).
>
> Thanks in advance.
>
> Kazuyoshi
> --
> Kazuyoshi Furutaka
> furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/paraview


More information about the ParaView mailing list