Dynamo for rainwater harvesting in Revit

Hello, I’m a civil engineering student and I’m trying to develop a routine in Dynamo to automate the placement of rainwater collection gutters automatically in house projects, but I’m having difficulties, especially with how to install the gutters after marking the edges where they should be placed, could anyone help me with how to do this?