The imagePlane command allows querying of various properties of an image plane and any movie in use by the image plane. The object passed to the command may either be an imagePlane node, or a camera, in which case the command uses the image plane attached to the camera (if any). If no object is passed in, the current selection is used. Currently, most queries work only on 64 bit Windows systems.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
counter (cn) | bool | ||
Query the ‘counter’ flag of the movie’s timecode format. If this is true, the timecode returned by the -timeCode flag will be a simple counter. If false, the returned timecode will be an array of integers (hours, minutes, seconds, frames). |
|||
dropFrame (df) | bool | ||
|
|||
frameDuration (fd) | bool | ||
|
|||
negTimesOK (nt) | bool | ||
|
|||
numFrames (nf) | bool | ||
|
|||
quickTime (qt) | bool | ||
|
|||
timeCode (tc) | bool | ||
|
|||
timeCodeTrack (tt) | bool | ||
|
|||
timeScale (ts) | bool | ||
|
|||
twentyFourHourMax (tf) | bool | ||
|
Derived from mel command maya.cmds.imagePlane
Example:
import pymel.core as pm
import maya.cmds as cmds
# query whether the image plane on the persp camera
# is using a QuickTime movie
pm.imagePlane( 'persp', q=True, qt=True )
# get the current timecode
pm.imagePlane( 'persp', q=True, tc=True )