Indirect OpcItemPath

I'm not sure you're understanding his suggestion.

Lose the String tag. Put your hundreds of tags in a UDT. Parametrize the UDT, reference that parameter in your OPC Item Paths.

Your script now just edits the UDT to change the param as necessary. Once (per UDT).