Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

formula editor 1

Status
Not open for further replies.

jec3300

Automotive
Jan 30, 2006
55
0
0
US
Is there a way to have an "if" statement in the formula editor? I have an equation that is in excel and looks like this:
=IF((18<(0.2*150)),((495*SQRT((0.2*18)/150))+36),((150*(18/150))+105))
I am trying to incorporate this into Catia V5. Any ideas?

Thanks in advance for the help
 
Replies continue below

Recommended for you

What kind of IF statement is this?
Is it a format unique to Excel?

=IF((18<(0.2*150)),((495*SQRT((0.2*18)/150))+36),((150*(18/150))+105))

Please clarify how this is suppose to look

Thxs

Nev
 
This equation is for our tapers on the ends of a laser cut tubes. The 18 is 18mm from the end of the tube and the 150 is the length of the taper. We build half and then mirror the other half, close the ends and sow together and use as a cutting surface on a hollow tube.

 
IF Offset_From_End<(0.2*Taper_Length) then
X =((495*SQRT((0.2*Offset_From_End)/Taper_Length))+36)
else
X =((Taper_Length*(Offset_From_End/Taper_Length))+105))
end if

Sort of VB-ish syntax. for catia knowledgeware drop the then & the end if and surround the X = with {} brackets.

 
Status
Not open for further replies.
Back
Top