State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:14.1v5|BugID:560504|
onCreate callback or knobDefault does not set the key_Display knob#create a Write node and set key1 to TESTwrite1 = nuke.createNode("Write")write1["key1"].setValue("TEST")#confirm key1_Display was updatedprint("Write1:", f"key1 = {write1['key1'].value()}, key1_Display = {write1['key1_Display'].value()}")#add a callback so future Write nodes have key1 set to TESTnuke.addOnCreate(lambda: nuke.thisNode()["key1"].setValue("TEST"), nodeClass="Write")#create a Write node and confirm its key1_Display was not updatedwrite2 = nuke.createNode("Write")print("Write2:", f"key1 = {write2['key1'].value()}, key1_Display = {write2['key1_Display'].value()}")
3) Observe how the second Write node's key1_Display knob has not been set to "TEST":
onCreate callback or knobDefault is used to set a Write node's OCIO key knobs, the corresponding key_Display knobs are not automatically updated.We're sorry to hear that
Please tell us why