the "nc" entry is in 9.0v5. ...
On 20 May 2015 at 19:03, Fredrik Averpil <fredrik.aver...@gmail.com> wrote: > Hi Frank, quick question; starting with which version of Nuke is env['nc'] > available? > > On Wed, May 20, 2015 at 7:53 PM Frank Harrison <fr...@thefoundry.co.uk> > wrote: > >> That env variable is now deprecated. >> >> You should use env['nc'] instead, we'll update the docs. >> >> In your init.py or similar, you can do something like: >> >> # caveat I've not tested this; >> if env.get('nc', False) : >> nuke.alert( "<studio> does not support PLE" ) >> sys.exit(1) >> >> F. >> >> >> >> >> >> On 20 May 2015 at 18:37, Nico Dufort <nduf...@gmail.com> wrote: >> >>> nuke.env['ple'] (will return True or False) >>> >>> On Wed, May 20, 2015 at 10:03 AM, Jean-Paul LeDoux < >>> jean.paul.led...@gmail.com> wrote: >>> >>>> Hello, >>>> >>>> We're looking to build in a check to make sure a user can't save or >>>> increment a scene if they're using a PLE license (sigh). >>>> >>>> Does anyone know how to get this information with a python call? >>>> >>>> Thank you, >>>> >>>> JP >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> >>> >>> >>> -- >>> "Attention, attention. Here and now, boys," the mynah repeated. "Here >>> and now, boys." >>> >>> _______________________________________________ >>> 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 >>> >>> >> >> >> -- >> Frank Harrison >> Senior Nuke Software Engineer >> The Foundry >> Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 >> Web: www.thefoundry.co.uk >> Email: frank.harri...@thefoundry.co.uk >> _______________________________________________ >> 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 >> > > _______________________________________________ > 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 > > -- Frank Harrison Senior Nuke Software Engineer The Foundry Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 Web: www.thefoundry.co.uk Email: frank.harri...@thefoundry.co.uk
_______________________________________________ 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