Node to link beams to a slab point?

See first how the If node works here:
http://dictionary.dynamobim.com/#/Core/Logic/Action/If
and here written as a conditional statement in a code block:
http://dynamoprimer.com/en/07_Code-Block/7-3_shorthand.html
then you’ll find easily related threads such as this one: