Hello,
I'm having a hard time finding documentation about accessing the input ports for the Python Xpresso node, specifically the 'On' port. I know about op.GetInPorts()
, but it isn't returning anything. How could I add any of these data types for that matter? Where would I find the IDs for them?
pythonNode = gv.CreateNode(gv.GetRoot(), 1022471, insert=None, x=200, y=0) #Create python node
onId = c4d.DescID(c4d.DescLevel(?????))
pythonNode.AddPort(c4d.GV_PORT_INPUT, onId)
Thank you!