On 04/03/2014 at 08:47, xxxxxxxx wrote:
Hi,
I have read allot about adding ports to expresso nodes i got it working on my python node.
But my object nodes don't get te added object port. I found some other people having problems with this but didn't find a solution there only stuff for userdata i'm not using any userdata. I'm stuck here : c4d.GV_OBJECT_OPERATOR_OBJECT_IN
targetObjectNode = nodes.CreateNode(nodes.GetRoot(), c4d.ID_OPERATOR_OBJECT , None, 5, 50)
targetObjectNode[c4d.GV_OBJECT_OBJECT_ID] = targetData
targetObjectNodeOutput = targetObjectNode.AddPort(c4d.GV_PORT_OUTPUT,c4d.GV_OBJECT_OPERATOR_OBJECT_IN) #Object output port
If somebody can explain me what i'm doing wrong much appreciated