Polyline on mesh

hi
i need to create polylineonmesh in rhino with just one click of a button in grasshopper using ghpython scripting. please is there a script already created that can save me, thanks for every attempt to help