Go to: Synopsis. Return value. Related. Flags. MEL examples.
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.
In query mode, return type is based on queried flag.
requires, unknownNode
dataTypes, list, nodeTypes, remove, version
Long name (short name) |
Argument types |
Properties |
|
-dataTypes(-dt)
|
|
|
|
Returns the data types associated with the given unknown plug-in.
This will always be empty for pre-Maya 2014 files.
|
|
-list(-l)
|
|
|
|
Lists the unknown plug-ins in the scene.
|
|
-nodeTypes(-nt)
|
|
|
|
Returns the node types associated with the given unknown plug-in.
This will always be empty for pre-Maya 2014 files.
|
|
-remove(-r)
|
|
|
|
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)
|
|
|
|
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.
|
// 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";