I have a bunch of segnmented line that, i want to join them together so i get the longest “straight line”
in the exmaple here, this segment should join together with the lines below to creat the polyline in the second image
You could use SelChain with the Tangency option and set the angle tolerance to some small value - the max angle you will accept between segments - and once you are satisfied with the selection, hit Join. But this is not a global one-click operation, you would need to repeat it for each set of segments.