Hi, I am trying to create multiple views using PyPython. Is there any documentation for Python in Paraview, especially for function CreateView? I read about this function in tutorial: https://www.paraview.org/Wiki/images/6/6e/ParaViewTutorial54.pdf, but it there is not description for parameters such ViewSize and StereoType. Can you advice me documentation of full description?
Python documentation is available here: https://kitware.github.io/paraview-docs/latest/python/
Here is documentation for
Hi, I also want to create multiple views, I saw the documentation here: https://kitware.github.io/paraview-docs/latest/python/paraview.simple.html?highlight=createview#paraview.simple.CreateView.
Here is the citation: “paraview.simple.CreateView` (view_xml_name, detachedFromLayout=None, ***params)”. It is not sufficient for me, thete is not decription of parameters. I cannot create views with some specific position. This is my problem.
Here is an example:
# state file generated using paraview version 4.3.1 from paraview.simple import * # Create a new 'Render View' renderView1 = CreateView('RenderView') renderView1.ViewSize = [100, 200] renderView1.StereoType = 0 renderView1.Background = [0, 1, 1] layout1.SplitVertical(1, 0.5) # Create a new 'Render View' renderView2 = CreateView('RenderView') ... layout1.SplitHorizontal(1, 0.5) # Create a new 'Render View' renderView3 = CreateView('RenderView') ...
Where can I find description of ViewSize, StereoType, SplitVertical and SplitHorizontal parameters? How to use them in order to create views in some specific positions and sizes?
Please create your own topic in the ParaView support category.