User Parameter Function doesn't validate

User Parameter Function doesn't validate

petrara
Advocate Advocate
1,126 Views
3 Replies
Message 1 of 4

User Parameter Function doesn't validate

petrara
Advocate
Advocate

Fusion 360 version 2.0.5350 - my uni did not upgrade yet to latest version.

Not sure if this is a bug or I'm not using the formulas correctly. 

Trying to do some operations with a defined User Parameter, but some operations fail.

Parameter: DrvWheel_DIA = 80mm (see attachment)

 

 Can Do:

  • DrvWheel_DIA + <number>
  • DrvWheel_DIA - <number>
  • DrvWheel_DIA * <number>
  • DrvWheel_DIA / <umber>

Can NOT Do:

  • DrvWheel_DIA ^ <number>
  • sqrt(DrvWheel_DIA)
  • pow(DrvWheel_DIA, <number>)

Obs: sqrt(), ^ and pow() work fine when only numbers are introduced, with no variables.

Please advise.

 

 

Accepted solutions (1)
1,127 Views
3 Replies
Replies (3)
Message 2 of 4

jhackney1972
Consultant
Consultant
Accepted solution

You cannot take a square root of a parameter value that contains units.  The answer can be found here.  All you have to do is remove the units from the variable, inside the parentheses, by dividing by 1/(units).

 

Square Root.jpg

 

 

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 4

petrara
Advocate
Advocate

Thanks for the tip.

It's really confusing and I'd expect more from Autodesk and Fusion... If it can't identify the value and the unit is quite...dumb from software point of view.

0 Likes
Message 4 of 4

Anonymous
Not applicable

I think it is quite smart that Fusion 360 is unit-aware. A patch of 1x1 cm is 1 cm^2, but it is 100 mm^2, so the number depends on the unit.

My two cents: it would be nice to get a user warning explaining that the formula is red because of unit related issues.

0 Likes