State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:492951|
Problem summary
The MonitorOutputNode's mode knob returns values that can not be set via Python.
Customer reported version
Nuke 13.0v5
Customer reported platform
centos7
Steps to reproduce
NOTE: These steps have been tested with the formats available with the AJA Kona4 device.
1) Open Nuke on a machine which has a Monitor Out device installed.
2) Open the Script Editor and execute the following code:
k = nuke.toNode("MonitorOutNode")["mode"]
for i,v in enumerate(k.values()):
k.setValue(k.enumName(i))
print(i, v, "=>", k.value(), ",", k.getValue())
k.setValue(v)
print(i, v, "=>", k.value(), ",", k.getValue())
This should set the value of the knob and print what it has been set to. This will show the knob values that are not being set correctly.k = nuke.toNode("MonitorOutNode")["mode"]
val = k.values()[44] #replace 44 with the index of a erroneous value
print(val)
nuke.toNode("MonitorOutNode")["mode"].setValue(val)
k = nuke.toNode("MonitorOutNode")["mode"]
k.setValue(44) #replace 44 with the index of a erroneous value
nuke.toNode("MonitorOutNode").setValue("4K DCI p/4K DCI 4096 x 2160 - 60p")
We're sorry to hear that
Please tell us why