Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi all, I've created a vector values as shown below and I want to check the design for each of the value is pass or not.
does anyone know how to create an 'if statement' to get the results as shown below?
Thank you for your kind help.
Solved! Go to Solution.
My Vr is in vector value and not in a single value? can you make it works?
Here's one possibility:
It works just like what I want. Thank you so much!
You could also do it without having to define a range variable i if you use vectorization:
I changed one value in t.w because otherwise all values would pass. The values shown as 0.03 m in l/150 actually are slightly smaller than 0.03 m and so would pass.