The SwapObjects script swaps two selected objects. There are several similar scripts, but they do not correctly define the dimensions of clipping groups. My script fixes this problem and adds some options.
How to use
Select two objects and run the script.
Features
Change X, Y coordinates from one of 9 reference points;
Change order in layers. For example, to transfer objects between groups, layers.
Coordinates defined by geometric bounds of objects or visible with stroke weights, effects.