Hi Everybody,

I am trying to use the If Expression to perform the scaling function on a group of breps or only a single brep.

At present I have a length A. Length A is my new length I wish to scale to. I also have Length B, which is the Max & Min Extents of my 3 Breps. If A-B<0, the if expression returns True. If A-B>0, the if expression returns False. This part I am happy with.

Based on this True/False Answer, I would like to select which breps I perform my scaling function on. So if there answer is True, I would like to select all 3 breps and scale according to my scaling factor. If the answer is False, I would like to select only one brep and scale only this brep.

Is there a way to do this with the Expression function? Or do I need to be going round this problem a different way?

Below is my first Expression which returns true or false. From there on, I am not sure if a further if expression is the right way to go, as it will only return a List from either A or B depending on the True/False Statment!

Many thanks for any help.