Do formulas support If-Then?

Do formulas support If-Then?

SGoldthwaite
Collaborator Collaborator
1,116 Views
4 Replies
Message 1 of 5

Do formulas support If-Then?

SGoldthwaite
Collaborator
Collaborator

I'd like to do a sketch pattern where the number of copies varies with a dimension.  For example, let's say I have a circle and the diameter variable is d5.  In the quantity field of the pattern dialog, I'd like to have something like this:

 

If d5 <= 0.5 then 7 else 4 

 

if the circle diameter (d5) is less then or equal 0.5, then pattern quantity is 7, otherwise it's 4

0 Likes
Accepted solutions (1)
1,117 Views
4 Replies
Replies (4)
Message 2 of 5

jeff_strater
Community Manager
Community Manager
Accepted solution

no, control-flow logic is not part of Fusion equations today


Jeff Strater
Engineering Director
0 Likes
Message 3 of 5

SGoldthwaite
Collaborator
Collaborator

I thought that was the case, thanks for confirming

 

0 Likes
Message 4 of 5

j.preston.6
Participant
Participant

Are there any plans to include control-flow logic in the future?

0 Likes
Message 5 of 5

vladimir_michl
Advisor
Advisor

It can be done with an "arithmetic workaround" in most cases - see:

CAD Forum - How to use conditional parameter values in Fusion 360? (cadforum.cz)

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz