Skip to content

Instantly share code, notes, and snippets.

View lhofmann's full-sized avatar

Lutz Hofmann lhofmann

  • Zürich, Switzerland
View GitHub Profile
@lhofmann
lhofmann / RenderViewCloning.py
Last active September 8, 2021 09:13
Clone ParaView Render View
'''Functions to replicate renderViews in ParaView.
v1: Theodore Baltis (https://discourse.paraview.org/u/theodorebaltis)
https://discourse.paraview.org/t/feature-request-clone-renderview/2370/3
v2: Bastian Loehrer (https://discourse.paraview.org/u/bastian)
- merged the separate scripts into one file with the dedicated functions split_right() and split_down()
- added function clone_to_new_layout
v3: Lutz Hofmann (https://github.com/lhofmann/)
- support sources with multiple output ports
- use vtkSMProxyClipboard for copying properties