API - Set Parameter Value


I need to set a paramater value of a Style.
va.SetParameterValue sets the ‘Object Paramater’ not the ‘Style Parameter’
Is ‘va.SetParameterValueSource’ what I need?
If so, I couldn’t figure out what ‘ValueSource’ means in the function.

Thanks in advance.


Hi @ahmet.unveren,

You should use va.SetParameterValue() and as the second parameter you should provide the id of the style. Is this not working for you? It will only work if the parameter you pass as the first value is a parameter of the style.

1 Like