Right before the lines that create the part of the object you don't want to un-rotate.
So in this case just before the LINE@ and RICHTEXT command.
But you will probably want it after the MUL2 and ADD2 commands as you will probably still want to perform those transformations before you un-rotate the object.
Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11