Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to set a range between expression values?

Status
Not open for further replies.

Tivabo

Industrial
Joined
Jan 8, 2014
Messages
18
Location
NL
For example:

I want to suppress 1 part in the assembly if the length of the block is less then 310 or greater then 320.
Is it possible to put this in one formula? I only got the formula working with the less function shown down here:

if (length_block<310) (0) else (1)
 
Hello,

I think in one formula is unposible, but You can write something like this:

formula1: if (length_block<310) (0) else (fomula2)
formula2: if (length_block<320) (1) else (0)

Best regards

Michal Nowak

 
Hi Tivabo,
Try if((length_block<310) | (length_block>320)) (1) else (0)
This will put a range.
Regards
Kapil
 
Thanks! Both solutions work! great!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top