Hi all,
Is there a way to affect which *color* an attribute is given in the Channel Box when connected to a custom attribute? There are at least 3 separate colors attributes in the channel box.
- pairBlend connections become green
- animCurve connections become red
- any other connection become yellow
What I'm looking for is perhaps an attribute create call, or override in the MPxNode subclass to determine what that color ends up as. In this particular case, I'd like an attribute to be green. For asthetic reasons, and because they behave like those connected to pairBlend.
For example..
currentTime = uniFn.create("currentTime", "ctm" ,
MFnUnitAttribute::kTime,
0.0, &status);
uniFn.setStorable(false);
uniFn.setReadable(false);
uniFn.setHidden(true);
uniFn.setColor(MColor(0.25, 0.75, 0.25)); // <-- Where art thou?
Some visual proof..
![negow_0-1599241264388.png negow_0-1599241264388.png](https://forums.autodesk.com/t5/image/serverpage/image-id/815333i687E987F0A4A184D/image-size/medium?v=v2&px=400)
![negow_1-1599241428088.png negow_1-1599241428088.png](https://forums.autodesk.com/t5/image/serverpage/image-id/815334iC02AFAC8E14682BA/image-size/medium?v=v2&px=400)
Any ideas?