I have been trying to display compoundAttribute children in the channel box. I called setKeyable(true) and setChannelBox(true) when creating the compoundAttribute and its children. Querying the attributes in mel using 'getAttr -channelBox attr returns true even though nothing is showing up… Any ideas how to get around this would be greatly appreciated.
I’m trying to access them individually. For instance, in compound attribute ‘fluidObject.forces’, I’m trying to have fluidObject.forces[i] appear in the channelBox.
Can you provide a code snippet of how you’re creating the attribute(s)?
What kind of attribute type are you creating as a compound?
When I run the following code, I have no issues seeing the attributes in the channel box: