Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am facing an issue when using the findKeyframe command.
I was using this command while building a tool but it showed unexpected behaviour.
Here I'm using the script editor in Maya 2023.2 to find the previous keyframe before keyframe 5:
As you can see the value I'm getting is wrong. The value should be 4 because the previous keyframe is keyframe 4.
The same thing happens if I specify that I want to get the next keyframe after keyframe 5:
It is supposed to show the value 6 because that's the next keyframe after 5. But the result is still keyframe 5.
Does anyone have an idea what the problem is? Is this a bug?
Solved! Go to Solution.