I am trying to retrieve attributes of all the source nodes. Initially I tried using the
rvc.nodeInfo but ti was showing that this method does not exist in
rv.commands. Later on I came across
rvc.sourceAttributes but the problem I am facing over here is it is giving me the attributes of only first source node and returning
None for the others.
import rv.commands as rvc source_nodes = rvc.nodesOfType("RVSourceGroup") for node in source_nodes: print(node) print(rvc.sourceAttributes(node))
I also tried to set each node
rvc.setViewNode(node) within the loop but still not getting any result. I would really appreciate it if anyone could guide me for the process to retrieve attributes for all the source nodes.