rescale glyph in python script using current values
Hi, I am using the python tracing feature to write a script that I will use for multiple models I have an arrow glyph and I am trying to script the scale factor in python. I want to reset the glyph scale factor with respect to each specific model.
using the user interface it is simple and straightforward forward using a button but in the script, it saves a value that is specific to one model. I can assign a scalar to it using "glyph1.ScaleFactor = ..." but I want to automate it so that it would reset using current data values (just like pressing the button on the user interface)
How can I write the script to reset that factor depending on each case?
I can not figure out how to do so can you please help?