Message 1 of 1
Setting up timecode in Maya 2020 Plugin

Not applicable
04-24-2020
10:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to import custom data and assign a start timecode to the beginning of the animation. I am using the following functions to set the beginning / end of the playback/animation to the start/end timecodes for my dataset:
MAnimControl::setMinTime
MAnimControl::setMaxTime
MAnimControl::setAnimationStartTime
MAnimControl::setAnimationEndTime
The when setting the timeline display to "timecode" the timecode displays correctly in the UI, but when set to frames, the frame numbers are very large. It appears the frame numbers get coded as though timecode 0 and frame 0 correspond. Is there a way to indicate that frame 0 to corresponds to timecode X (seen during import)?
Thank you.