Package nukescripts :: Module renderdialog
[hide private]
[frames] | no frames]

Module renderdialog

source code

Classes [hide private]
  DialogState
  ExecuteDialog
  RenderDialog
  FlipbookDialog
Functions [hide private]
 
showExecuteDialog(nodesToExecute, exceptOnError=True)
Present a dialog that executes the given list of nodes.
source code
 
showRenderDialog(nodesToRender, exceptOnError=True)
Present a dialog that renders the given list of nodes.
source code
 
showFlipbookDialog(node, takeNodeSettings=False)
Present a dialog that flipbooks the given node.
source code
 
showFlipbookDialogForSelected()
Present a dialog that flipbooks the currently selected node.
source code
 
bboxToTopLeft(height, roi)
Convert the roi passed from a origin at the bottom left to the top left.
source code
 
setRenderDialogDefaultOption(name, value)
Set a particular option to the given value.
source code
 
setFlipbookDefaultOption(name, value)
Set a particular option to the given value.
source code
Variables [hide private]
  _gRenderDialogState = DialogState()
  _gFlipbookDialogState = DialogState()
Function Details [hide private]

bboxToTopLeft(height, roi)

source code 

Convert the roi passed from a origin at the bottom left to the top left. Also replaces the r and t keys with w and h keys.

Parameters:
  • height - the height used to determine the top.
  • roi - the roi with a bottom left origin, must have x, y, r & t keys. @result dict with x, y, w & h keys

setRenderDialogDefaultOption(name, value)

source code 

Set a particular option to the given value. The type of the value differs per option, giving the wrong value may result in exceptions. The options are read every time the dialog is opened, though not every knob in the dialog has it's value stored.

setFlipbookDefaultOption(name, value)

source code 

Set a particular option to the given value. The type of the value differs per option, giving the wrong value may result in exceptions. The options are read every time the dialog is opened, though not every knob in the dialog has it's value stored.