Forum

Spreads - systematical slice replacement

hi,

is there an elegant way of replacing all slices in a spread that matches a certain criteria (like: replace all values that are larger than a treshold)?

this would be something like a combination of Sift(Spreads) and a SetSlice(Spreads) (if it could deal with Sift’s output).

thanks for any hint!

Select (Value) and SetSlice (Spreads) are your friends.
Also see: westtricks#get your values back after a boolean operation.

Dunno if this is elegant. ;)

ReplaceSomething.v4p (7.4 kB)

yeah, that’s what i was looking for (i obviously missed the other output of Select(Value))

thanks!