How to define object edge


I am trying to find out to describe an objects edge. But this edge should be visible on the plan and has to be on the outer border.

In the picture you see 4 edges of a foundation with yellow. All I need to describe one of these edges in dynamo.

Why do I want it? To start the leader point there.

Thank you all in advance.(I have already figured the elbow point and header point, but the start point I cannot define)

Element.Faces, filter the surfaces by their normal to get just the top surface, and then Surface.PerimeterCurves will likely get you what you need.

1 Like

Maybe you could use Select Edge node enclosed to the Revit > Selection library:

The picked edge is directly transformed to the line object, hence allowing you to extract start and end points, length or direction.

1 Like