Go to: Return value. Examples.

Synopsis

requires productString versionString

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), while 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.

Examples

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