Conditioned Loop
- May 3, 2019
- 1 reply
- 1564 views
Final goal is to output a Graph with X and Y values.
I am having problems with the generation of the Y values. The Y values depend on weather an initial value is "Yes" or "No" under the variable Assembly.
I would like to replace matrix B and C for a single matrix that will take into account the Matrix called Assembly.
If you look at both examples, SW-1 and SW-3, you will notice that matrix B depends on weather Assembly starts with a "Yes" or a "No". Matrix C is simply the cumulative addition of matrix B.
I was thinking of creating a Loop that starts with Matrix ShearWall.Gap and applies the multiplication ShearWall.Gap0 times (v.shearwall-v.diaphragm) if Assembly is "Yes" or -ShearWall.Gap0 times (v.diaphragm) if Assembly is "No" and then continue doing what Matrix B and C are doing. Stack the C values and be able to graph them.
Thanks for any of your input.

