nuke.root

nuke.root() → node

Get the DAG’s root node. Always succeeds.

Returns

The root node. This will never be None.