I've got a tag valueChanged
script that uses relative paths. I need to use this same script in a couple different tag scripts, so naturally I want to move it to the project library. This tag is in a UDT and within the script, it's using relative tag paths to read/write a couple of others.
How should the relative tag paths be handled? Should I pass the tagPath
variable to the proejct script and update the [.]
accordingly, or can the project library script use the [.]
specifier since it'll be called from that tag's valueChanged
script?