Go to: Synopsis. Return value. Python examples.
shapeCompare(
[shape1 shape2]
)
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
shapeCompare is undoable, queryable, and editable.
Compares two shapes. If no shapes are specified in the command line, then the shapes from the active list are used.import maya.cmds as cmds cmds.polySphere() cmds.polySphere() cmds.select( cl=True ) cmds.select( 'pSphere1', 'pSphere2', r=True ) cmds.shapeCompare()