if node.type == LINE:
This works fine in the standalone script. I get the above error when it’s wrapped in a filter and guessing the same will happen for type CURVE. I’m importing the same stuff as the original script and the checked node exists.
Btw is there a more efficient way of debugging filters than closing and reopening the app? (more hope than expectation!)