New Conditional Formula

I.Usage Scenario:

 

When using material packages or style packages or outline packages, in some cases, the package scope needs to change according to other variables. For example, when the thickness of the board changes, the selected material package will also change accordingly. Before this feature was introduced, it was necessary to create multiple panels of different thicknesses and set different material packages for each panel. After this feature was introduced, only one panel needs to be created, and the corresponding material package can be set according to the thickness parameter.

 

II.Function introduction:

 

1.The range of packages (material packages/style packages/outline packages, etc.) can change according to changes in other variables.

2.The current value of material/style/outline can be determined by an expression, not just by referencing a variable.

 

III.Specific operations:

  1. There are three ways to call up this tool:

①In the material "value type" selection, select "optional" and add the dropdown option "conditional". After selection, you can set the conditional expression of the package range, as shown in Figure 1-1.

 

 

 

Figure 1-1 Value type: optional-condition

 

②In the material "value type" selection, select "formula/compound formula" and add the dropdown option "conditional". After selection, you can set the conditional expression of the current value, as shown in Figure 1-2.

 

 

 

Figure 1-2 Value type: formula/compound formula-condition

 

 

③In the component properties, the material/style/outline variable adds the dropdown option "condition". After selection, you can set the conditional expression of the current value, as shown in Figure 1-3.

 

 

 

Figure 1-3 Component Properties: Material-Condition

 

 

2.Editing mode (taking different optional material ranges corresponding to the thickness of the board as an example) is shown in Figure 1-4. The operation can be divided into three steps: 1. Add conditions and select the corresponding material package/outline package/style package under this condition. The position of the condition can be adjusted by dragging; 2. Click Calculate result to verify the calculation result under the current condition; 3. Select the current value of the corresponding material package/outline package/style package under the current condition.

 

 

 

Figure 1-4 Example of how to use the condition editor