Here’s an quick example of adding a ‘opening’ at piping locations in a wall and setting the diameter of the opening per each pipe diameter.
This could be done a lot better, just a rough example.
RE_window_as_Opening_Revit2022.1.rvt (1.7 MB)
RE_Window_As_Opening.gh (14.0 KB)