Package nuke :: Class ViewerProcess
[hide private]
[frames] | no frames]

Class ViewerProcess

object --+
         |
        nuke.ViewerProcess

ViewerProcess

Instance Methods [hide private]
 
node(...)
nuke.ViewerProcess.node(name, viewer) -> Node.
 
register(...)
nuke.ViewerProcess.register(name, call, args, kwargs) -> None.
 
registeredNames(...)
nuke.ViewerProcess.registeredNames() -> List.
 
unregister(...)
nuke.ViewerProcess.unregister(name) -> None.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

node(...)

 

nuke.ViewerProcess.node(name, viewer) -> Node. Returns a ViewerProcess node. Default is to return the current selected one. This is a class method.

Parameters:
  • name - Optional ViewerProcess name.
  • viewer - Optional viewer name.
Returns:
Node.

register(...)

 

nuke.ViewerProcess.register(name, call, args, kwargs) -> None. Register a ViewerProcess. This is a class method.

Parameters:
  • name - Menu name.
  • call - Python callable. Must return a Node.
  • args - Arguments to call.
  • kwargs - Optional named arguments.
Returns:
None.

registeredNames(...)

 

nuke.ViewerProcess.registeredNames() -> List. Returns a list containing the names of all currently regisered ViewerProcesses.

Returns:
List.

unregister(...)

 

nuke.ViewerProcess.unregister(name) -> None. Unregister a ViewerProcess. This is a class method.

Parameters:
  • name - Menu name.
Returns:
None.