you are right it was both indentation and not having import nuke at the top
it seems to work great now thanks for your help RP
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
