Set same legend for multiple views once

Hi,

My problem is that I have a lot of outputs (actually a set of outputs (time serie)) and I want to know if there is a easy way to set the limits and style to the legend for all outputs at once?

I know how to do it per output but it takes forever to do that and if I close the program an re-opens it all settings are gone :frowning:

I attach my vtk-file.

heat.vtk (3.3 MB)

Hoping for a helpful advise :slight_smile:

Best regards
/tobias

Use the SaveSettings button below.
2020-09-29-232305_531x144_scrot

Thank you!
Best regards
Tobias

Den tis 29 sep. 2020 16:23Mathieu Westphal (Kitware) via ParaView <noreply@discourse.paraview.org> skrev:

Hi @mwestphal
I manage to get the same type of legend for all output but I can’t figure out how to set a range for all output at once?

image

Best regards
/tobias

Afaik, this is not supported. I’d suggest transforming your file into a time series instead.

I have thought about that… are there any examples on how to do that?
Best regards
/tobias

I’d write a python script for that. Add a calculator, then something like:

for (i in range(120)):
  str = "{:05d}".format(i)
  calculator.Function = "t"+ str
  UpdatePipeline()
  SaveData("/home/glow/data/tmp/aka/heat" + str + ".vtu')

This was not tested though.

Thanx! I’ll try that!
Best regards
/tobias