Hinge problems

I am calculating a portal, in which I work with continuous beams. I am now working on the connections, which must all be hinged, since the construction is fitted with cross braces. I therefore want to hinge the bottom and top of the columns to the beams, but I am not able to do this. I have tried it with 1 building layer there, Karmba 3D does this by itself, but as soon as I put another floor on it, it does everything fixed.

The correct scheme is shown in matrix frame



portaal begin.gh (49.6 KB)

Dear @b.hunen,
there are several possibilities for defining the joints - see the attached definition:
portaal begin_cp.gh (48.9 KB)
– Clemens