Guest Dipo Posted December 16, 2022 Share Posted December 16, 2022 Hello! How can I make this expression with Ironcad parameters? IF( (Hei > 20 mm); 25 mm; 20 mm; IF( (Hei > 25 mm); 30 mm; 25 mm; IF( (Hei > 30 mm); 35 mm; 30 mm ) ) ) IronCAD doesn't give syntax errors, but it doesn't work. How to make multiple IF STATEMENT in one expression? Thank you! Quote Link to comment Share on other sites More sharing options...
Bertrand Kim Posted December 16, 2022 Share Posted December 16, 2022 Hi Dip, I see the syntax erros pop up message with that expression. IronCAD doesn't support IFS for now So you have to use IF( (Hei > 20 mm), IF( (Hei > 25 mm), IF( (Hei > 30 mm), 35 mm, 30 mm ), 25 mm ), 20 mm ) Kim 1 Quote Link to comment Share on other sites More sharing options...
dleczynski Posted December 18, 2022 Share Posted December 18, 2022 Here is example if with if (many if lops) Quote Link to comment Share on other sites More sharing options...
ASPEER Posted December 18, 2022 Share Posted December 18, 2022 One way to do that expression is mathematically, it looks like you want to round up to the nearest 5mm so: =(5mm*int(((Hei/5mm) +1))) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.