Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
In a python node, is it possible to know how many inputs and outputs there are? and their name?
The op variable gives acess to the node itself. From there it is straightforward:
op
for port in op.GetInPorts(): print(port.GetName(op)) for port in op.GetOutPorts(): print(port.GetName(op))
See Python Xpresso Node and c4d.modules.graphview.GvNode.
Thanks @PluginStudent ;)