pymel.core.general.shapeCompare

static general.shapeCompare(*args, **kwargs)

Compares two shapes. If no shapes are specified in the command line, then the shapes from the active list are used.

Derived from mel command maya.cmds.shapeCompare

Example:

import pymel.core as pm

pm.polySphere()
# Result: [nt.Transform(u'pSphere1'), nt.PolySphere(u'polySphere1')] #
pm.polySphere()
# Result: [nt.Transform(u'pSphere2'), nt.PolySphere(u'polySphere2')] #
pm.select( cl=True )
pm.select( 'pSphere1', 'pSphere2', r=True )
pm.shapeCompare()
# Result: 0 #

Previous topic

pymel.core.general.sets

Next topic

pymel.core.general.showHidden

Core

Core Modules

Other Modules

This Page