AWS Thinkbox Discussion Forums

Nuke default - Selected nodes only default to on/true

For the life of me I can’t seem to figure out how to get the Deadline_selectedNodesOnly option to default to on all the time. Anyone out there have a solution? I’m sure its something simple I’m missing…

I tried setting this in the submitter and it’s not taking…

    # Only Submit Selected Nodes
    self.selectedOnly = nuke.Boolean_Knob("Deadline_SelectedOnly", "Selected Nodes Only")
    self.selectedOnly.setFlag(nuke.STARTLINE)
    self.addKnob(self.selectedOnly)
    self.selectedOnly.setTooltip("If enabled, only the selected Write nodes will be rendered.")
    self.selectedOnly.setValue(True)

If you scroll down further in the code, you’ll find a section around line 2044. Mark that as ‘true’ if you want it enabled by default.
Screenshot 2024-08-26 142737

Privacy | Site terms | Cookie preferences