hi,
i look the problem sketch and seems to be possible in CCX for all element type (beam, shell and solid). Since there are two member connected share the same common nodes, it is a convenient way using Remove in Equation. Some rotational DOF for beam and shell element model, translation in longitudinal axes for solid element model.
to make a member rigid, it can be simple assign to element set, reference nodes is optional and not mandatory.
is the “m” denotes to mass? if yes, there will be rotational inertia to be considered. Different element type (beam, shell, solid) required specific approach in this regard or simplify by using distributed mass instead of lumped.
lastly, about load scheme in static or dynamic. When static being conducted, make sure all load in equilibrium since the model prone of stability.
p.s for reference example used