Page 1 of 1

how do i reference to a parameter expression in python

PostPosted: Tue Jun 11, 2019 8:13 am
by Vaslav3
Hi All,

My question is: How do I reference to the expression field, not the constant field, of an operator parameter in python.

For i like to enter an expression (a string) in the parameters expression field by using python (using a chop execute for example). But i cannot seem to find out how..

Hope someone can help.

All the best

Re: how do i reference to a parameter expression in python

PostPosted: Tue Jun 11, 2019 10:11 pm
by snaut
Hey,

something like this:

Code: Select all
a = op('filter1').par.width.expr
print(a)


Cheers
Markus

Re: how do i reference to a parameter expression in python

PostPosted: Wed Jun 12, 2019 6:39 am
by Vaslav3
Hi Snaut

Yes! that's it! thanks alot :D