Binding Script Value(Float) to Numeric Text Box

I have a script that adds a column and calculate the Average, How do I bind this value(Avg) to a numeric text box.

I have looked all over and watched several videos but still can’t figure it out.

Thanks

You should be able to just assign the value in the script by using a line similar to the one below. It may change a bit depending on where your script executes.

event.source.getComponent('Numeric Text Field').floatValue = value

Easiest ways to find the property for scripting would be to use the ‘Insert Property Reference’ button in the scripting window, turning on the description area and selecting the property you want to write to, or looking at the component in the wiki. Most of those locations should show the property name to use in scripts

1 Like

Thank You, and especially the extra part about how to do this.