from Blender import * ipo = Ipo.Get('ObIpo') icus = [(x[1],ipo[x[1]]) for x in ipo.curveConsts.items() if x[1] in ipo]