I've seen similar questions but none answer mine.
I have DWG files of floorplans. When I import them to Illustrator, they are all lines. I can make all the walls black with the live paint tool in one click easily. The problem is, the entire outline is the wall, the windows are drawn as a group of a rectangle with 2 lines in it. The good thing is, the DWG file is layered - I can simply select all objects on the window layer then change the stroke and fill to white so the windows show up as a white gap:
Note that the white rectangle representing the window doesn't have black lines in them. They should look like this:
The problem is, the 2 lines are arranged below the rectangle by default. At the moment, I have to select every single rectangle and manually right click --> arrange --> send to back (or select every single line, 2 for each window, and bring to front). I had no luck using select --> same --> (any option) because everything on the window layer was by default, the same stroke and fill, even though one is a rectangle (with black 0.7pt thickness and no fill when I imported the DWG, and then I can change all of them in one go using select all on layer in the layers panel and clicking on the circle) and the others are 2 lines (also black 0.7pt thickness and no fill when I imported the DWG).
How can I select all the lines inside and beneath the rectangles in one go so I can bring them to the front? If I had a hundred windows, I don't want to have to change every single window individually.
Thanks
Select > Same > Fill & Stroke
should pick up white filled, black stroked rectangles and not simply black stroked paths, even if it's the same stroke weight and color. Then simply move the rectangles backwards.