I was miscategorizing curvewarp.lengthScale thinking curvewarp was an attribute, it is actually a node itself. Spire2 from cgsociety pretty much writes the script for me here: http://forums.cgsociety.org/showthread.php?p=8365118#post8365118 although he uses functions I've yet to learn, which makes sense since I've only…
I'm trying to copy one mesh's curveWarp attribute to multiple other meshes curveWarp attributes using a for loop. Thing is, I don't know how to access a node's curveWarp attribute in a smart way. I can get it to work if I hardcode it like: pm.setAttr("curveWarp6.lengthScale", pm.getAttr("curveWarp5.lengthScale")) but this…
I'm not a pymel scripter, but I think the general idea from mel is the same. You'd use something like listRelatives on each shape looking for a type match to get the proper name for its curveWarp node and assign that name to a variable. This tutorial seems relevant. Just a guess on the copyAttr, the docs show them using…