runScript

Hi,

I’m attempting to run a script in an expression tag and face with an error below, how ever if I run the script on a button or run it from shared script it works fine. I’m not passing any parameters through this function as I try to figure out the why I’m unable to call it from the tag.

Expression tag:

runScript("project.BlndrNatSet.BlndrNatSet()",1000)

Script:

def BlndrNatSet(): natset=0 return natset

Tags are global to the gateway, so any expression they use can only access global (shared) resources.

Thank you!