nuke.getInput

nuke.getInput(prompt, default) → str

Pops up a dialog box with a text field for an arbitrary string.

Parameters
  • prompt – Present the user with this message.

  • default – Default value for the input text field.

Returns

String from text field or None if dialog is cancelled.