nuke.toolbar

nuke.toolbar(name, create=True) → ToolBar

Find and return the ToolBar object with the given name. The name of the built-in nodes toolbar is ‘Nodes’.

A RuntimeException is thrown if not in GUI mode.

Parameters
  • name – The name of the toolbar to find or create.

  • create – Optional parameter. True (the default value) will mean that a new toolbar gets created if one with the given name couldn’t be found; False will mean that no new toolbar will be created.:return: The toolbar, or None if no toolbar was found and ‘create’ was False.