Setting up timecode in Maya 2020 Plugin

Setting up timecode in Maya 2020 Plugin

Anonymous
Not applicable
399 Views
0 Replies
Message 1 of 1

Setting up timecode in Maya 2020 Plugin

Anonymous
Not applicable

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.

0 Likes
400 Views
0 Replies
Replies (0)