I want to get which port the node's input port connects to. and I try to use gvport.getdestination () in the Python SDK, but I find that the port has to be the output port to return properly, and if the port is the input port, it returns an empty list.
Does anyone know how to return the connected port from the input port?
In C++ you would use GetIncomingSource but it's not implemented in python.
So the only way is to check for each node in the same Xgroup if any of it's outgoing port is linked to your node.
really not the best thing but that's the only workaround.
All right. Thanks for your reply.
without feedback, i'll consider this thread as solved.