As far as I can see that should work – that is basically the script I use.
But as mentioned in Archicad-talk …
However make sure you have the old GUID in the ‘Migration’ list – that is a different button to the ‘Forward Migration’ script. Do not have the new GUID in that list.
Also make sure you do not have the old object in you loaded libraries. If you do the swap will not happen.
Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit