Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

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

What is wrong with this formula ?

  • Thread starter Thread starter amnon
  • Start date Start date
Status
Not open for further replies.
A

amnon

Guest
What is wrong with this formula ?

if "thickness g" == 3mm {chamfer=5mm}
else if "thickness g" == 4mm or "thickness g" == 5mm {chamfer = 1mm}
else if "thickness g" >= 6mm or "thickness g" <=8mm {chamfer = 1,5mm}

message appeared:
Bad kind of argument number 2 in Operator ==
(should be Enumere Insted of Length

Respect
Amnon
 
Amnon,

based on the message, check your parameter: did you define "thickness g" as a "Real" value or a "Length" ?
 
upssss.. I defined "thickness g" as a "Length"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top