I tried to export lines from revit to dynamo using the select model elements node, but I could not . I saw a few tutorials where the lines are created as a family and then exported. I tried that as well. Can someone please help me .
Try Element.Types and AllElementsOfType
Have you followed along this tutorial yet?
https://www.dynamoprimer.com/08_Dynamo-for-Revit/8-2_Selecting.html