Go to: Synopsis. Return value. Related. Python examples.
getClassification(
[nodeType]
)
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
getClassification is undoable, queryable, and editable.
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'