Hey darby
I'm using array attributes a lot now too.
Which call is giving you stat = kInvalidParameter ??
(one of the creates or the addAttribute?)
Have your arrays worked before, without the initialization?
You might want to try initializing your data in your
compute, say on the first compute.
In my initialize(), I'm declaring my arrays like this..
CODE
MFnTypedAttribute tAttr;
MFnVectorArrayData vectorsData;
vectorsObj = tAttr.create("vectArray", "vectors", MFnData::kVectorArray, vectorsData.create());
tAttr.setHidden(true);
stat = addAttribute(vectorsObj);