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/


-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/c350bc90-8de3-4a4d-bda1-b753dac0c9fd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to