How to get the BOS(bottom of steel) of a structural framing member-BEAM (which is sloped) using dynamo?

Hey Guys,
Need help getting the bottom of steel at both end of a sloped beam.