I should have said that I would love for this to work both in command line and interactive modes rather than saying the mechanism ideally be part of the init.py.
Best, -tony On Mon, Mar 10, 2014 at 10:58 AM, Tony Barbieri <great...@gmail.com> wrote: > Hello! > > I am trying to open a file on startup by using a custom open method > written in python. I am trying to run the open code either in an init.py > or menu.py that we use for our facility. Ideally this can happen in the > init.py. The code appears to be running correctly but it seems that the > file is zeroed out to a default scene due to it running "too early". > > Is it possible to open a file on Nuke launch without using the standard > command-line file flag but do it via python? > > Thanks! > > -- > -tony > -- -tony
_______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev