@amarkonathala
Well it is not clear what you are modeling. The original post and the image therein gave me the impression that you to cut off 2' segments of the wall...Now I see that you want to have 2 alternating 2' segments of wall types? is that right?
Try using a curtain wall without mullion...set the vertical grid to 2' and replace the panels with Basic wall types

In dynamo lots of things are possible but you will need to define precisely what you are doing and what would you like to achieve...Just a simple statement I want to split wall @ 2' isn't enough. Example: Here is a node that can split/divide wall parts for instance...place ref planes at any interval you wish and the node will split it at those intervals then you can set a different material for each
