Q: Get the top node of a script in Python

Hi, guys
Suppose a script in NUKE like:
//————————————–
Read1 (the Top node)
|
Reformat1
|
grade1
//————————————–
Does NUKE Python have a command to get the top node of the whole script tree?

I want to add a new node and get the top node at the same time, so I don’t worry about what is the top node in any script tree in NUKE.
============================================
Thanks for reading
Tony

No Responses to “Q: Get the top node of a script in Python”

Post a Comment