I'm having issue grabbing the all of the curves in a hierarchy and setting their rotations back to 0. I've been trying for the past hour and only recently learned about using PyMel. Any help is appreciated. I've had different variations that didn't give me an error but didn't do anything as well... so far the error with…
my friend figured it out for me cause I'm just not very good really: import maya.cmds as cmds from pymel import * objName = cmds.ls(sl=1) prefix = objName[0].split(':',-1)[0] con_shapeNode_list = cmds.ls('{}:*'.format(prefix), type = "nurbsCurve") con_transformNode_list = cmds.listRelatives(con_shapeNode_list, p=1, type=…