Hi there, Good day!
The other day a co-worker of mine asked me to write a script to quick color controllers(nurbsCurve), and I first did that in following way(no internet access in my company thus no pasted codes here :P): 1 enable the curve's(transform node) overRide color, then make the override color attr keyable 2 if there is any display layer connected with the curve, break the override color attr connection 3 pick one color and delete other previous keys in this attr I created several curves with hierarchy and repeating node names under different hierarchies(I don't know why I see this so often, but there are just repeating dag names in lots of scenes...), and it worked. BUT... when I tried this tiny function in a rigged character, it just didn't work on all of them. Some of the curves had colors in the first place, and I could not change them even by hand...though others worked well with the script... Could some one please help me ? Is there any other way to color a curve? And if I missed some in the previous way, do please point out:) Thanks! Jerry -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
