Hi, I’m building a keyframer for a camera COMP, and want to go between the expressions applied to my translation, rotate, and pivot to there being no reference without clicking on each reference. Is there a python script to do this?
Between this
And this
Hi @aaronmylespereira,
the Par Class has a .mode member which can be used to switch the parameter mode programmatically.
.mode
For example the translate’s tx and ty parameters can be switched like this:
tx
ty
# switch tx parameter to expression mode op('geo1').par.tx.mode = ParMode.EXPRESSION # switch ty parameter to constant mode op('geo1').par.ty.mode = ParMode.CONSTANT
Hope this helps cheers Markus
Bless your soul, thank you so much!