duplicate filter context menu option

hello,

context: Sometimes we are using repetitive filters (ie., same type of filters) with changing a single option, eg, same clipping but inverted one to another, or same plane slice but different origin.

issue/situation for this improvement to take place: The issue is that when creating the second ‘same’ filter one needs to copy paste one by one the options setted on the first, with exception of the one that one needs to change. some examples of this:

  1. creating mutliple thresholds on same filed.
  2. wanting to clip the geometry and still show the front of it but transparent while the back geometry is fully opaque.
  3. slicing at several different origins but same normal.
  4. apply exactly same filter but to a different source.

proposal: have a right click “clone filter” which will recreate the same exact filter, with same input but not apply it (not respecting the “apply changes to parameters automatically”) so one can change what one wants to change such as, for previous examples:

  1. the value of the thershold (or inversed or another thing)
  2. the opacity and the invert boolean
  3. the origin position
  4. the input source

Copy/Paste pipeline already provide that feature I believe.

i never knew how to use the copy/paste, one needs to create a new filter of same time and then select the first one copy → select new created ->paste.

No, Im talking about “Copy Pipeline” / “Paste Pipeline”.

oh wow, never thought that that was its intended use. strange naming. thanks

It lets you copy multiple sources that are parts of a pipeline, though. Out of curiosity, what name would you have looked for? We do our best to guess at the most meaningful name, but it’s always good to hear different ideas about that.

well, i must say that i have never in my years of experience doing paraview with a bunch of quite different applications, needed to ‘copy a hole part of pipeline’ so not even crossed my mind, on the oposit just ‘duplicate’ filter it happens to me quite frequently, and did not thought that i could achieve this with the copy pipeline… even if more limited and ‘redundant’ personally i would add the option still… as i think this would cover 99% of at least my needs. i have done CFD, now image processing and still never felt like doing a copy pipeline, as if i want to do the same thing instead i open a new paraview instance and run a script that does what i am looking for. i would never have the reflex to use it. sadly i dont have a better name as it not crossed my mind this possibility.