Python Expression to Affect Operator Parameters by logic chop

Hi I have a question regarding python expressions. I know there might be other ways of doing this, but in this instance I’m looking to connect a logic CHOP to a chopexecute DAT so that ‘while on’ produces an affect in a different operator… namely I want it to change the rotate parameter in a transform from static 0 to the dynamic value of lfo1, which is a ramp. Then ‘while off’ changes it back to 0 (or even better, wherever it landed, which sounds more involved). The idea is that I can begin the rotation at a certain point in the video. I’m not sure what value to return or if I should about it another way. Thanks!

Hello,
If I understand what you want and if you want a smooth rotation, I would affect the LFO to the rotation and use chopexec : offToOn to play the LFO and onToOff to stop the LFO.
Another solution would be (for continue rotation) to use use speed chop.
Jacques