Hey, you can use this simple script to find that intersection points. Also, you can get the wall faces and find the intersection point between the curve of a pipe element and a surface.
FYI, based on dealing with structural elements in the past, there is a joint/gap between the beam and the column, so the elements don’t actually intersect with each other.
How you approach will be based on how your corbel/haunch connection family is modeled. Is the insertion point at the top center or top left/right edge of the corbel/haunch? Assuming there is a joint between the beam and the column, so you can’t just get the intersection point between the two. You may have to get a relative point on the bottom of the beam and project a line to the column and get the intersecting point of the line and the face of the column.