Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
timeCode [-mayaStartFrame float] [-productionStartFrame float] [-productionStartHour float] [-productionStartMinute float] [-productionStartSecond float]
timeCode is undoable, queryable, and editable.
Use this command to query and set the time code information in the file
In query mode, return type is based on queried flag.
timecode, time
mayaStartFrame, productionStartFrame, productionStartHour, productionStartMinute, productionStartSecond
Long name (short name) |
Argument types |
Properties |
-mayaStartFrame(-msf)
|
float
|
|
|
Sets the Maya start time of the time code, in frames.
In query mode, returns the Maya start frame of the time code.
|
|
-productionStartFrame(-psf)
|
float
|
|
|
Sets the production start time of the time code, in terms of frames.
In query mode, returns the sub-second frame of production start time.
|
|
-productionStartHour(-psh)
|
float
|
|
|
Sets the production start time of the time code, in terms of hours.
In query mode, returns the hour of production start time.
|
|
-productionStartMinute(-psm)
|
float
|
|
|
Sets the production start time of the time code, in terms of minutes.
In query mode, returns the minute of production start time.
|
|
-productionStartSecond(-pss)
|
float
|
|
|
Sets the production start time of the time code, in terms of seconds.
In query mode, returns the second of production start time.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
//set the production start time to 1 hour, 33 min, 52 seconds, and 23 frames
timeCode -psh 1 -psm 33 -pss 52 -psf 23;
// query the production start time
timeCode -q -psh;
// result: 1
timeCode -q -psm;
// result: 33