Hi Andy,

Thank you so much that is exactly what I was trying to do.

Stan

On Nov 5, 6:20 pm, Rchitekt <[EMAIL PROTECTED]> wrote:
> Stan,
> If you use the Min component, it should result in the value you are
> looking for.  Go to Scalar/Util/Min and use this component.  Feed your
> list of values into A and set B to 10.  Now, your output list should
> set any numbers greater than 10, back to 10.  Here's a screenshot of
> an 
> example.http://grasshopper3d.googlegroups.com/web/Min_screenshot.jpg?hl=en&gs...
> -Andy
>
> On Nov 5, 2:38 pm, Stan <[EMAIL PROTECTED]> wrote:
>
> > Hi I was wondering if the replace function is good for what I am
> > trying to do.
>
> > I have a list of numbers and I want to make sure they dont go beyond a
> > certain max value. so if the max value is say 10 a number in the list
> > with a value of 11 would come back as 10 yet 9 for example still be
> > 9.
>
> > I think the Replace function is supposed to do that however I cant get
> > the syntax.
>
> > Replace(x, x>10, 10).
>
> > Thanks a lot.
>
> > Stan

Reply via email to