cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

how to create 'if statement' for vector

NA_11204287
4-Participant

how to create 'if statement' for vector

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. 

 

NA_11204287_3-1726214649552.png

 

does anyone know how to create an 'if statement' to get the results as shown below?

NA_11204287_0-1726215195311.png

 

 

Thank you for your kind help.



ACCEPTED SOLUTION

Accepted Solutions

Here's one possibility:

ifcheck.png

 

 

View solution in original post

5 REPLIES 5
ttokoro
20-Turquoise
(To:NA_11204287)

image.pngimage.pngimage.pngimage.png

NA_11204287
4-Participant
(To:ttokoro)

My Vr is in vector value and not in a single value? can you make it works? 

Here's one possibility:

ifcheck.png

 

 

It works just like what I want. Thank you so much!

Werner_E
25-Diamond I
(To:NA_11204287)

You could also do it without having to define a range variable i if you use vectorization:

Werner_E_0-1726229373220.png

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.

 

Announcements

Top Tags