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 )
Tab committed the message...
Thanks for your help.
Kind Regards
David Moulder
Long hours and too much coffee...
-Dave