Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Syntax error in formula editor

Status
Not open for further replies.

Jaani

Mechanical
Oct 8, 2013
20
JP
I wanna use a custom syntax in formula editor. I don't have any problem when my syntax is simple including + - * /, for example (2*4mm). But when I try something like sqrt(16mm), an error message pops up.

2018-04-08_12-20-41_bliqt4.png


2018-04-08_12-21-02_wtiaxv.png


What's the right syntax for something like 10 mm + square (100mm) + (2mm)[sup]3[/sup]?
 
Replies continue below

Recommended for you

Good morning,

Sqrt and cube must be done on REAL operands.

Try sqrt(100mm/1mm)*1mm

Best regards,
Costin Ruja
 
Tried it successfully, thank you, Costin.

I'm not familiar with writing syntax in CATIA. I couldn't apply cube syntax. how should I write (100mm)[sup]20[/sup]?
 
The symbol for raising at an exponent is ** (double asterisk)

Looking at your first post, it should look like this:

((2mm/1mm)**3)*1mm

Best regards,
Costin Ruja
 
Nothing else, except appreciation. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top