Hi,
First of all, this is my first deformer, so please excuse the dumb question if dumb it is.
I'm completely stuck with a slot initialisation.
I would like a slot that accepts an undefined ( dynamic ) number of vector as input ( I would think of a MFnVectorArrayData() ? ) so I'm going like:
VctArrAttr = OpenMaya.MFnVectorArrayData()
MyNode.Test = VctArrAttr.create("Test", "Test", OpenMaya.MFnData.kVectorArray )
MyNode.addAttribute( MyNode.TestGizmos )
MyNode.attributeAffects( MyNode.TestGizmos, OpenMayaMPx.cvar.MPxDeformerNode_outputGeom )
I kinda understand that there is a lot missing there for it to work properly, but I'm stuck with the little information I get from the standard API reference.
Thanks for your help !
Also if there is richer documentation available somewhere, I'd be glad to know about it :)
o/