splinecraft
7/11/2017 - 1:02 PM

Get curves when there are animation layers

Get curves when there are animation layers

import maya.cmds as cmds

curves = [curve for curve in cmds.listHistory(pdo=True, lf=False) if cmds.nodeType(curve, i=True)[0] == 'animCurve']