예제 #1
0
def combinClusters():

    clusterHandles = cmds.ls(sl=True)

    for cluster in clusterHandles:
        clusterTransform = cluster
        clusterDeformer = cmds.connectionInfo('%s.worldMatrix[0]' %
                                              clusterTransform,
                                              dfs=True)[0].split('.')[0]

        if cmds.nodeType(clusterDeformer) == 'cluster':
            DeformerLib.combineCluster(clusterHandles, True)
예제 #2
0
def combinClusters():

    clusterHandles = cmds.ls(sl=True)
    DeformerLib.combineCluster(clusterHandles, True)
예제 #3
0
def combinClusters():
    
    clusterHandles = cmds.ls(sl = True)
    DeformerLib.combineCluster(clusterHandles,True)