I don't think you need to set _OldNode = 0
I don't do this when I am migrating.
Also you definitely have a parameter called "node_x1" in the old object?
And "nX1" is in your new object.
Here is a bit of script I have in one of my objects.
basically the same as you have.
xx = DELETED_PAR_VALUE ("tile_on", tile_on_old)
if tile_on_old = 1 then
wall_tile_swch = 1
hob_tile_swch = 1
wall_tile_swch = 0
hob_tile_swch = 0
PARAMETERS wall_tile_swch = wall_tile_swch, hob_tile_swch = hob_tile_swch
Also comment or delete the PRINT "PRINT" line.
I am not sure it will do anything anyway - will you get a message?
You will know if it has worked if your object swaps which you say it is doing.
One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10