- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to cut some material off a section on a model. The model has a parameter (mm) called 'Thickness' and a parameter called 'Making' (text). The 'Making' parameter is either 'lid' or 'box'.
What I am trying to achieve is that if 'Making' == 'box' then I want to cut a section off my model.
I am doing an 'extrude' (cut) with the amount to be cut being 'Thickness'/2.
In the extrude 'distance' field I am using the following:
if(Making == 'box';Thickness/2, 0.0001)
This fails because the 'Thickness' parameter doesn't get evaluated. The 'if' statement works fine if the second and third part of the 'if' statement is a number.
How can I convince Fusion to evaluate the second portion of the 'if' expression. If we assume that the 'Thickness' parameter is 12 and the 'Making' parameter is 'box', then the 'if' expression should evaluate as if I had used
if(Making == 'box';6;0.0001)
I am assuming that I am somehow messing up how the 'if' expression is formatted.
Solved! Go to Solution.