Is it possible to change binding with scripting?

You can try the following code to get your binding working from a script, running in Designer (7.9.10, at least):

context = IgnitionDesigner.getFrame().getContext()
vision = context.getModule(VisionDesignerInterface.VISION_MODULE_ID)
binding = ExpressionBindingConfig("Your expression source string", overlayOptOutFlag)
vision.configureBinding(component, propertyName, binding)

I believe, there should be a way to do it in a Client too, once you figure out how to get its context.

2 Likes