Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
movieInfo(string, [frameCount=boolean], [height=boolean], [width=boolean])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
movieInfo is NOT undoable, NOT queryable, and NOT editable.
movieInfo provides a mechanism for querying information about movi files.None
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
frameCount(f) |
boolean |
|||
|
||||
width(w) |
boolean |
|||
|
||||
height(h) |
boolean |
|||
|
||||
import maya.cmds as cmds
cmds.movieInfo("C:/My Documents/myMovie.avi", frameCount=1)
# 24