Hey DYJ, you need to set the item data after you ‘get item data’/ that get item data does not pass by reference so you need to get item data and make it a local variable, then set the attributes of that local itemdata then set the local itemdata to the items itemdata.
The system you look to be making sounds good!