Go to: Synopsis. Return value. Related. Flags. MEL examples.
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).
In query mode, return type is based on queried flag.
requires, unknownPlugin
plugin, realClassName, realClassTag
Long name (short name) |
Argument types |
Properties |
|
-plugin(-p)
|
|
|
|
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)
|
|
|
|
Return the real class name of the node.
|
|
-realClassTag(-rct)
|
|
|
|
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.
|
// 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 //