Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

unknownPlugin [-dataTypes] [-list] [-nodeTypes] [-remove] [-version]

unknownPlugin is undoable, queryable, and NOT editable.

Allows querying of the unknown plug-ins used by the scene, and provides a means to remove them.

Return value

string[]in query mode

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

Related

requires, unknownNode

Flags

dataTypes, list, nodeTypes, remove, version
Long name (short name) Argument types Properties
-dataTypes(-dt) query
Returns the data types associated with the given unknown plug-in. This will always be empty for pre-Maya 2014 files.
-list(-l) query
Lists the unknown plug-ins in the scene.
-nodeTypes(-nt) query
Returns the node types associated with the given unknown plug-in. This will always be empty for pre-Maya 2014 files.
-remove(-r) create
Removes the given unknown plug-in from the scene. For Maya 2014 files and onwards, this will fail if node or data types defined by the plug-in are still in use.
-version(-v) query
Returns the version string of the given unknown plug-in.

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 be used more than once in a command.

MEL examples

// list the unknown plug-ins
//
unknownPlugin -q -l;
// Result: foo //

// query the version of the unknown plug-in
//
unknownPlugin -q -v "foo";
// Result: 1.0 //

// attempt to remove the unknown plug-in
//
unknownPlugin -r "foo";