OpenMaya 2 and MFnArrayAttrsData


Hey guys !

I’m trying to write a node that outputs a TypedAttribute of type OpenMaya.MFnData.kDynArrayAttrs. I’m using the new OpenMaya API and can’t figure out how to set the attribute in the compute() function of the node. The new OpenMaya doesn’t have a function set for MFnArrayAttrsData, so i can only cast to a MFnTypedAttribute, but how do I set its value from there ?

Thanks !