I am an engineering student with a project involving equations.
When my global variable is an even number, my equation needs to be (a/2) - 1. When it is odd, it should be just a - 1. Is it possible to make a logic rule in SolidWorks to allow this?
1 | 0 |
2 | 0 |
3 | 2 |
4 | 1 |
5 | 4 |
6 | 2 |
7 | 6 |
8 | 3 |
9 | 8 |
10 | 4 |
11 | 10 |
12 | 5 |
13 | 12 |
14 | 6 |
15 | 14 |
16 | 7 |
17 | 16 |
18 | 8 |
19 | 18 |
20 | 9 |
... | ... |
Thanks!
SolidworksGeneral