Using null elements in the cross-section properties software RSECTION, you can create a shear connection between two elements whose definition lines have no common node.
For a null element, the normal thickness t = 0 mm. The shear thickness for shear transfer t* must be greater than zero for each element.