I've created a basic MPxNode node that has nothing in it but some
static attributes
one of these attrs is a message array that I'm using to describe our
own metaData scenegraph. Basicaly a parent child relationship via the
connection direction. Everything is fine but I delete a node from the
connection the array isn't cleaned and a reference to the node is left
in the index. Am I using the right setting for this array. Or should
I override connectionMade() and do manual clean-up?
This how I'm declaring the attr
mAttr = OpenMaya.MFnMessageAttribute()
metaNode.metaLinks = mAttr.create( "metaLinks", "mLinks" )
mAttr.setArray(1)
mAttr.setConnectable(1)
mAttr.setStorable(1)
mAttr.setWritable(1)
metaNode.addAttribute( metaNode.metaLinks )
--
http://groups.google.com/group/python_inside_maya