I am pretty new in Dynamo and in Python so I’m facing some troubles and I need your help.
I have a list with Lines. Some of this Lines can be tranformed in one bigger line. I don’t know how to do this. I’ve tried some Custom Nodes and I’ve tried to write a Python Script (below). None of these worked.
Does anyone know any Custom Node that does this? Or if not, can you tell me what’s wrong in my code?
The inputs to the script I wrote is:
- listaDir = List with Points representing the direction of the lines.
- listaPI = List with the start points of the lines.
- listaPF = List with the end points of the lines.
The script is in the txt file uploaded.
Script - Merge Lines.txt (2.2 KB)
Thank you in advance!