2 Answers. Sorted by: 1. You have to indent the lines of you code according to Python rules. So you need to use 4 spaces per indentation level - look at PEP 8. import nuke selNodes = nuke.selectedNodes () list = [] for node in selNodes: n = node ['ypos'].value () list.append (n) def alignY (): if len (selNodes) > 1: total = sum (list) average The Foundry is offering free, non-watermarked versions of NUKE, NUKEX and even top-of-the-line NUKE STUDIO to anyone who wants to learn, explore and have fun! If you want to learn to composite, edit and finish with industry-leading tools, NUKE Non-commercial is for you. If you're looking to evaluate the full commercial version, try our The Foundry NUKE 10.0v4 (Full Crack) The Foundry NUKE 10.0v4 (Win/Mac/Linux) | 2.6 GB The Foundry, a global developer of computer graphics, visual effects (VFX) and 3D design software for . NET, Avid and Adobe, has released NUKE 10.0v4 with support for new After Effects real-time editing tools and a new version of the .Net FX RENDERING plugin.
You need to be a member of Quantum Forum V to add comments!
Join Quantum Forum V