This should be really easy, but I can't figure it out. I have an array attribute for double values and all I want to do to connect multiple inputs to it - that's it. I made an array MFnTypedAttribute for a prior node and it works fine, I tried exactly the same technique for the MFnNumericAttribute but now the "Add New Item" button is gone and so I can't connect anymore than one input to the node - which kind of defeats the purpose of an array attribute...
Here's what's in the initialiser for that input:
nAttr = om.MFnNumericAttribute()
spSignalCurve_1DMixer.sc_1DM_inputs = nAttr.create("sc_1DM_inputs", "inS", om.MFnNumericData.kDouble, 0.0)
I've tried just changing the atrribute type to MFnTypedAttribute and keeping it's "type" to om.MFnNumericData.kDouble. This time the "Add New Item" button appears and works, but whenever I try to connect anything it greys out as if what I'm trying to connect isn't a double - but it is...
Any suggestions? I really can't work this out.