State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:512668|
Problem summary
Items with / in the Name cannot be found via Python in Nuke.
Customer reported version
nuke.13.2v2
Customer reported platform
Windows 11
Steps to reproduce
1) In Nuke, open the Script Editor and run the command:
cur_menu = nuke.menu('Nuke') m = cur_menu.findItem('Edit/Node/Disable/Enable') print(m)2) Observe the output in the Script Editor.
for i in nuke.menu('Nuke').findItem("Edit/Node").items(): if i.name()== "Disable/Enable": i.setShortcut('Z') We're sorry to hear that
Please tell us why