can anyone tell me how can I sort my lines to rotate them along the vertical lines to create a box with lines wrapped around it
You’ll have to explain better. Can you show us what you have and what you want?
To the left what I have
To the right what I have managed to do with Revit but want to achieve in dynamo
Interesting… I guess you want to ‘unwrap’ the solid to get a net…
Then you can run your lines across it… then fold them back up again?
I wonder if this is helpful? Dynamo Origami
I would start with surfaces for each face instead of “break” lines. That might be easier for managing the geometry. Then you could rotate and translate each surface pretty easily.