Hi Magno,

You can check if a script is modified or not by running:

nuke.Root().modified()

Or set it's state as modified or not by:

nuke.Root().setModified(bol)

Hope it helps.


Cheers,
Diogo


On Sat, Jun 15, 2013 at 7:42 AM, Magno Borgo <li...@borgo.tv> wrote:

> Hi guys, I need to check if the current open Nuke project is already saved
> before launching some functions, any help?
>
> --
> Magno Borgo
> www.boundaryvfx.com
> www.borgo.tv
> Brasil:Curitiba:GMT= -3
> ______________________________**_________________
> Nuke-python mailing list
> Nuke-python@support.**thefoundry.co.uk<Nuke-python@support.thefoundry.co.uk>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to