Graphical elements that are not visible are removed by the macro.
All layers are searched for elements whose lower right corner has a negative proportion (x-coordinate or y-coordinate is negative). These elements are removed. The operation cannot be reversed!
The coordinate 0/0 is in the upper left corner of the drawing.