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

Synopsis

getClassification( string )

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

getClassification is undoable, NOT queryable, and NOT editable.

Returns the classification string for a given node type.

Return value

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

Related

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

Python examples

import maya.cmds as cmds

# Get the classification string for the "lambert" node type
#
classifications = cmds.getClassification('lambert')
for c in classifications[:]:
    print '\tClassified as ' + c + '\n'