Many years ago, based on acad 2004, I wrote a complete set of programs to work with xclip drawings.
1. move blocks
2. rotation of blocks within the circuit, without changing the circuit
3. displacement of blocks within the circuit, no change of the contour
All the action via entmod.
I need time to separate the code from the project this week, I will try to publish it.
ps. My only imperfection - I could not create a new drawing xclip if they have none. First I created through the command line: (