I’m having a hard time identifying a node within the current focus.
this is quiet a good solution for getting the nodes.. what annoys me is the result.
for group in nuke.selectedNodes(): currSel = nuke.runIn( group.name(), 'nuke.selectedNodes()')
print currSel
which returns
# Result: [<RotoPaint5 at 0x0000000004E96EB0>, <RotoPaint3 at 0x0000000004E8C130>, <RotoPaint4 at 0x0000000004E96E90>] |
is there any way to filter this results to get a clean name array like:
# Result: [<RotoPaint5>, <RotoPaint3>, <RotoPaint4>] |
thanks for help!
B.
Post a Comment