Go to: Synopsis. Return value. MEL examples.

Synopsis

requires string string

requires is undoable, NOT queryable, and NOT editable.

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.

Return value

None

MEL examples

requires maya "7.0";
requires simpleLoftNode.so "1.0";