Mar
22
Hi I am trying to get the number assigned to the active input in the viewer. Here is the code I am running:
nuke.ViewerWindow.activeInput()
As far as I understand it, according to the documentation, this "Returns the currently active input of the viewer – i. e. the one with its image in the output window"
Am I missing a bracket or something somewhere?
It seems to be expecting a <ViewerWindow> type as an argument.
The error I usually get is this:
"descriptor ‘activeInput’ of ‘ViewerWindow’ object needs an argument"
I am on Windows using Nuke5.2v1.
Any help would be greatly appreciated.
Pete
Post a Comment