Curve selection model line

Of course @Kulkul
The metod of Curve by model line - #2 by Durmus_Cesur its ok, but how do i make it draw in revit and not just dynamo?