hello!
I was wondering if there was some function/ python code which would enable me to switch between the different options on this drop-down menu, so it just did it alone automated. might be way easier than i think!
thanks so much!
Lucia
hello!
thanks so much!
Lucia
Hello @luciaaa,
welcome to the community.
All parameters are accessibly via python and can be read and set from the textport or scripts.
The order of access would be to:
# get the operator
a = op('math1')
# now we can access the parameters of the operator
# for menus this can be set as integers or the menuName
a.par.preop = 1
# this is equal to
a.par.preop = 'negate'
Our learning page at learn.derivative.ca offers a section on python and scripting:
Also make sure to browse the tutorials collected at alltd.org for a great resource on this topic.
cheers
Markus
hey Markus,
amazing thank you so so much : ) !
I will also check that out now too and have a look!
Lucia