Go to: Synopsis. Return value. Keywords.
Flags. Python
examples.
imfPlugins([string], [extension=string], [keyword=string], [multiFrameSupport=string],
[pluginName=string], [readSupport=string], [writeSupport=string])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
imfPlugins is NOT undoable, queryable, and NOT
editable.
This command queries all the available imf plugins for its name,
keyword or image file extension. Only one of the attributes (name,
keyword or extension) can be queried at a time. If no flags are
specified, this command returns a list of all available plugin
names.
In query mode, return type is based on queried flag.
imf
extension, keyword, multiFrameSupport, pluginName, readSupport, writeSupport
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 have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
cmds.imfPlugins( query=True )
# returns a list of all imf plugin names
cmds.imfPlugins( 'pluginName', query=True, ext=True )
# returns image file extension of the plugin
cmds.imfPlugins( 'pluginName', query=True, key=True )
# returns IMF keyword of the plugin
cmds.imfPlugins( 'imfKeyWord', query=True, pn=True )
# returns plugin name corresponding to imf keyword
cmds.imfPlugins( 'imfKeyWord', query=True, ws=True )
# returns true if this plugin key supports write operations
cmds.imfPlugins( 'imfKeyWord', query=True, rs=True )
# returns true if this plugin key supports read operations
cmds.imfPlugins( 'imfKeyWord', query=True, mfs=True )
# returns true if this plugin key supports multiframe input/output