Connecting two different Generic Model Pattern based family

Hello everybody, I need some help. Is it possible to connect two different types of Generic Model Pattern-based family? Here I create a space frame that differs from the edge and the center. But, unfortunately when I generate the pattern into the form, there was a gap between these two. Not only the roof enclosure but also the space frame did not connect to each other, although the form is intersect to each other in the Conceptual Mass window.

Can I solve this with Dynamo?If there is some tools that I should learn or tutorial that related with this topic, I really appreciate it.

Assume that I don’t have experience with dynamo or scripting before. Thank you.