Include Playback/Timeline Settings when Exporting Scene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a plugin that imports animation to the timeline. During this process, we set various options relating to the animation playback (start/end range, frame rate etc.). We then export the scene using MFileIO.
We can export in various formats, however when exporting in the Maya (ASCII/Binary) format, the animation data is retained, but the timeline data is excluded. This results in an inconsistency between the animation data and the timeline playback data.
I've tried changing using the MEL and UI versions of the export function, however these produce the same results. I've also tried using SaveAs, which does work, but results in the copied file being the open one, rather than the original. It also does not have an equivalent for Export Selection, which we also use.
Is there any way to include the timeline/playback options as part of the exported file?