Go to: Synopsis. Return value. Keywords. Flags. Python examples.

Synopsis

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.

Return value

string[]

In query mode, return type is based on queried flag.

Keywords

imf

Flags

extension, keyword, multiFrameSupport, pluginName, readSupport, writeSupport
Long name (short name) Argument types Properties
extension(ext) string createquery
image file extension
keyword(key) string createquery
imf keyword
pluginName(pn) string createquery
imf plugin name
writeSupport(ws) string createquery
write operation is supported
readSupport(rs) string createquery
read operation is supported
multiFrameSupport(mfs) string createquery
multi frame IO is supported

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.

Python examples

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