pymel.core.system.requires

static system.requires(*args, **kwargs)

This command is used during file I/O to specify the requirements needed to load the given file. It defines what file format version was used to write the file, or what plug-ins are required to load the scene. The first string names a product (either maya, or a plug-in name) The second string gives the version. This command is only useful during file I/O, so users should not have any need to use this command themselves.

Derived from mel command maya.cmds.requires

Example:

import pymel.core as pm

pm.requires( 'maya', '7.0' )
pm.requires( 'simpleLoftNode.so', '1.0' )

Previous topic

pymel.core.system.renameFile

Next topic

pymel.core.system.saveAs

Core

Core Modules

Other Modules

This Page