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

Synopsis

getClassification [nodeType]

getClassification is undoable, queryable, and editable.

Return value

string[] Returns the classification strings for the given node type, or an empty array if the node type is not classified.

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

Related

addAttr, aliasAttr, attributeInfo, deleteAttr, nodeType, objExists, objectType, renameAttr

MEL examples

// Get the classification string for the "lambert" node type
//
string $classifications[] = `getClassification "lambert"`;
for ($c in $classifications)
  { print("\tClassified as "+$c+"\n"); }