# python script to reset glyph scale factor using current data values

**URL:** https://discourse.paraview.org/t/python-script-to-reset-glyph-scale-factor-using-current-data-values/11464
**Category:** ParaView Support
**Tags:** python
**Created:** [February 22, 2023, 12:29pm UTC](https://discourse.paraview.org/t/python-script-to-reset-glyph-scale-factor-using-current-data-values/11464 "2023-02-22T12:29:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ahmad\_alminnawi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ahmad_alminnawi/32/10976_2.png) [@ahmad\_alminnawi](https://discourse.paraview.org/u/ahmad_alminnawi)
#### Post date: [February 22, 2023, 12:29pm UTC](https://discourse.paraview.org/t/python-script-to-reset-glyph-scale-factor-using-current-data-values/11464/1 "2023-02-22T12:29:07Z")

</div>

Hi,  
I am using the python tracing feature to write a script that I will use for multiple models but I want to reset the glyph scale factor with respect to each specific model.  
using the user interface it is simple and straight forward but in the script it saves a value that is specific for one model.

How can I write the script to reset that factor depending on each case? if I am not mistaken, this line should be changed:

_\> # Properties modified on glyph1_

> glyph1.ScaleFactor = 5.170302447514938e-05
