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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
extension (ext) | unicode | ||
|
|||
keyword (key) | unicode | ||
|
|||
multiFrameSupport (mfs) | unicode | ||
|
|||
pluginName (pn) | unicode | ||
|
|||
readSupport (rs) | unicode | ||
|
|||
writeSupport (ws) | unicode | ||
|
Derived from mel command maya.cmds.imfPlugins
Example:
import pymel.core as pm
pm.imfPlugins( query=True )
# Result: [u'mentalrayCT', u'mentalrayMAP', u'mentalrayST', u'Alias', u'BMP (Microsoft Windows bitmap)', u'DDS', u'GIF', u'JPEG', u'Kodak Cineon', u'Maya Image', u'PNG', u'PostScript (Encapsulated)', u'Quantel', u'Silicon Graphics', u'Softimage', u'Sony Playstation', u'Targa', u'TIFF', u'Wavefront', u'XPM', u'Radiance Picture File'] #
# returns a list of all imf plugin names
pm.imfPlugins( 'pluginName', query=True, ext=True )
# returns image file extension of the plugin
pm.imfPlugins( 'pluginName', query=True, key=True )
# returns IMF keyword of the plugin
pm.imfPlugins( 'imfKeyWord', query=True, pn=True )
# returns plugin name corresponding to imf keyword
pm.imfPlugins( 'imfKeyWord', query=True, ws=True )
# returns true if this plugin key supports write operations
pm.imfPlugins( 'imfKeyWord', query=True, rs=True )
# returns true if this plugin key supports read operations
pm.imfPlugins( 'imfKeyWord', query=True, mfs=True )
# returns true if this plugin key supports multiframe input/output