Replace values in a list due to greater than component

I'm trying to replace a list of values if they are smaller than a certain number. I understand you dispatch the list due to a pattern using the less than component. Once I have those values I'm not sure what to do to replace them with a number. I'm assuming once I'm able to replace them I merge that list back in with the list that was dipatched so that their in the original order or position within the branch. I'm also not sure how that would work. Any help would greatly be appreciated.

Load Previous Replies
  • up

    Matt

    Hey Danny,
    I ended up just doing as you suggested a while back, using a min. number, but it still doesn't give the results I was looking for. It only gave the min number set, as I'm sure you know. When a list of values are not below that number but close is problem that I was facing. In the example posted the panels open and close based on the distance of the center point of that panel to a attractor. The area within the red are supposed to have a value of 0. This would make the panels be completely closed. Since the panels centerpoint can never have a value of zero because the centerpoint and the attractor would have to have the same location I'm trying to take values below a certain value and replace them with zero. I resolved to just go in and replace the panels that I wanted with a zero value with the appropriate panel which didn't take that long but in experimenting I was just trying to optimize the definition.
    1
    • up

      Matt

      Thanks Danny, that was what I was trying to achieve.
      • up

        Francisco Lara

        Is it posible to replace more than 1 value at the same time??

        lets say I have a list of numbers

        0,12

        0,13

        0,17

        0,56

        0,58

        0,59

        0,83

        0,86

        0,89

        and I wanna replace everything for 0,15_ 0,55_0,85 so I would end up with

        0,15

        0,15

        0,15

        0,55

        0,55

        0,55

        0,85

        0,85

        0,85

        is this possible?