I would like to split selected lines in a family into 1 or more curveLoops to add to a collection and iterate over creating filled regions.
I can achieve this for one curved loop after implementing code solutions from the Building coder blog, however I was wondering what the best approach if I get lines from a selection rectangle over the lines in 2d.
Each shape within the selection window would be a separate filled region, an even more automatic method might be to use a collector of all lines in view and convert them into filled regions if they have closed loops?