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

Synopsis

unknownNode [-plugin] [-realClassName] [-realClassTag]

unknownNode is undoable, queryable, and NOT editable.

Allows querying of the data stored for unknown nodes (nodes that are defined by a plug-in that Maya could not load when loading a scene file).

Return value

string[]in query mode

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

Related

requires, unknownPlugin

Flags

plugin, realClassName, realClassTag
Long name (short name) Argument types Properties
-plugin(-p) query
In query mode return the name of the plug-in from which the unknown node originated. If no plug-in then the empty string is returned.
-realClassName(-rcn) query
Return the real class name of the node.
-realClassTag(-rct) query
Return the real class IFF tag of the node.

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

// query the unknown node's real class name
//
unknownNode -q -rcn testIterator1;
// Result: testIterator //

// query the unknown node's class IFF tag
// if the node was loaded from a Maya ASCII file
//
unknownNode -q -rct testIterator1;
// Warning: line 1: No class tag available for node 'testIterator1'. //
// Result: 0 //

// if the node was loaded from a Maya Binary file
//
unknownNode -q -rct testIterator1;
// Result: 10 //

// query the plug-in that defined the unknown node
//
unknownNode -q -p testIterator1;
// Result: testIteratorNode //