- Posts: 459
- Joined: Mon May 13, 2019 10:38 pm
- Location: Minneapolis, MN
- Real Name: Ben Hall
It should certainly be possible to create a script that does what you describe, and a script can be run from a hotkey.
- Code: Select all
tool = comp.ActiveTool
keyframe = { [comp.CurrentTime] = { tool.Angle[comp.CurrentTime], }, }
splineout = tool.Angle:GetConnectedOutput()
spline = splineout:GetTool()
spline:SetKeyFrames(keyframe)
The above sets a keyframe on the active tool's Angle control.
You'd probably want to do a little more testing to be sure the tool has an Angle control, and to create an animation spline if one doesn't already exist.
edit: The above adapted from the info on pages 83-84 of the Fusion 8 Scripting Guide.