Welcome to 3DCADForums

Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.

Register Log in

What is wrong with this formula ?

amnon

New member
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
 

MrCATIA

Super Moderator
Amnon,

based on the message, check your parameter: did you define "thickness g" as a "Real" value or a "Length" ?
 

Sponsor

Top