TechnicalConsultant
Mechanical
- Mar 26, 2004
- 172
Hi,
I have model with an expression controlling the length. I have one row of holes and want the number of holes in the x axis to vary depending on the length. For example if length is over 100mm then I want two holes, if length is over 200mm then I want three holes.
Below is the expression I have used
if(length>100)(2)else(if(length>200)(3)else(if(length>300)(4)else(1)))
Any ideas where I am going wrong? Any help VERY much appreciated.
Mark Noyce
Mark Noyce
Senior Design Engineer/CAD co-ordinator
I have model with an expression controlling the length. I have one row of holes and want the number of holes in the x axis to vary depending on the length. For example if length is over 100mm then I want two holes, if length is over 200mm then I want three holes.
Below is the expression I have used
if(length>100)(2)else(if(length>200)(3)else(if(length>300)(4)else(1)))
Any ideas where I am going wrong? Any help VERY much appreciated.
Mark Noyce
Mark Noyce
Senior Design Engineer/CAD co-ordinator