ONE FORMULA. EVERY CAD APP.

PARAMETERS & EXPRESSIONS

Look up the operators, functions and if-statements that Autodesk Fusion uses in parameters and expressions, then line them up against SOLIDWORKS, Onshape, Inventor, Creo, NX, CATIA, Solid Edge, FreeCAD, Shapr3D, AutoCAD and PowerMill. Every app links to its publisher’s own help pages.

13 CAD/CAM apps / Fusion first

Find the right syntax.

Pick your software to see how it writes parameters and formulas. Every other app lines up beside Fusion, so you can translate a formula either way.

Choose your software
Autodesk Fusion (our tutorials)
Other CAD
Other CAM

Autodesk Fusion

Parameters · Design workspace

Where
Modify › Change Parameters. Or type Width = 50 mm in any dimension box to make a named parameter on the spot (named parameters go straight into Favorites).
Write it like
Name Length, Expression Width * 2
Arguments
; — never a comma
Angles
Give them a unit: sin(30 deg), sin(PI / 4 rad)
If
if(test; a; b)

Syntax at a glance

Autodesk Fusion syntax
What you wantFusion
Basics
Use a parameterWidthModel parameters get names like d12. Rename the ones you reuse.
Type a value with units50 mm15 deg
Separate function arguments;Autodesk avoids the comma because many countries use it as the decimal mark.
Arithmetic
Powera ^ bpow(a; b)pow rounds decimal powers at the 8th decimal place.
Remainder (modulo)a % bFloating-point remainder.
Square rootsqrt(x)
Absolute valueabs(x)
Smaller or larger of twomin(a; b)max(a; b)
Sign of a numbersign(x)Autodesk’s table says 0 for negative and 1 for positive values. Test it before you rely on it.
Random numberrandom()
Rounding
Round to nearestround(x)Needs a unitless value. Halves round away from zero: round(-1.5) = -2.
Round upceil(x)Unitless: ceil(-1.5) = -1.
Round downfloor(x)Unitless: floor(-1.5) = -2.
Drop the decimalsNot in the docsNo trunc. For a unitless x: if(x < 0; ceil(x); floor(x)).
Trig and angles
Angle units in trigsin(30 deg)sin(PI / 4 rad)Trig takes an angle with a unit and returns a plain number.
Sine, cosine, tangentsin(x)cos(x)tan(x)Also sinh, cosh, tanh.
Inverse trigasin(x)acos(x)atan(x)They return an angle. Also asinh, acosh, atanh.
Two-argument arctangentNot in the docs
Powers and logs
Natural log (base e)ln(x)
Log base 10log(x)Autodesk doesn’t state the base. Quick check: if log(100) shows 2, it’s base 10.
e to the power of xexp(x)
Constants
PiPI
Euler’s number eE
Logic
If / elseif(test; a; b)Put another if inside for more than two outcomes.
Equal to (comparison)==
Not equal to<>Not !=.
And, or, not(a) and (b)(a) or (b)notExample: if((Height < 400 mm) and (Width < 400 mm); 12 mm; 18 mm)

More in Fusion

Gravity
Standard gravity, 980.665 cm/s².
SpeedOfLight
29,979,245,800 cm/s.
cosh(x) · sinh(x) · tanh(x)
Hyperbolic functions. They take an angle.
acosh(x) · asinh(x) · atanh(x)
Inverse hyperbolic functions.
Part number {PartNumber}
A text parameter. Type the text in the Expression box; wrap a parameter name or expression in curly braces to insert its value.
_ " $ ° µ
Symbols you can use in parameter names, besides letters and numbers.

Watch out

  • Use ; between arguments: max(a; b), not max(a, b).
  • Not equal is <>.
  • round, floor and ceil need a unitless value. Divide by a unit, then multiply back: floor(Length / 5 mm) * 5 mm rounds down to the nearest 5 mm.
  • Don’t name a parameter after a unit such as mm, in or deg.
  • Change Parameters exports your user parameters to a CSV file and imports them into other designs. Autodesk advises giving every parameter a unique name to avoid conflicts on import.
  • Editing lots of parameters? Untick Automatic Compute in the Parameters dialog; the design then updates when you click OK.

Sources

Checked 9 Nov 2026. If a publisher’s page doesn’t cover something, the table says so instead of guessing. Try new formulas on a scratch file first.

Product names belong to their owners. Syntax can change between releases, so check the linked help pages for your version.