Thanks for all the help, guys.  And should have mentioned that I'm on 8.0v5.

Cheers!

On Wed, 20 May 2015 at 11:58 Fredrik Averpil <[email protected]>
wrote:

> Hi again Frank,
>
> thanks – that's helpful. I'm using env['ple'] prior to 9.0v5 then.
>
> Cheers!
>
> On Wed, May 20, 2015 at 8:28 PM Frank Harrison <[email protected]>
> wrote:
>
>> the "nc" entry is in 9.0v5.
>>  ...
>>
>>
>> On 20 May 2015 at 19:03, Fredrik Averpil <[email protected]>
>> 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 <[email protected]>
>>> 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 <[email protected]> wrote:
>>>>
>>>>> nuke.env['ple'] (will return True or False)
>>>>>
>>>>> On Wed, May 20, 2015 at 10:03 AM, Jean-Paul LeDoux <
>>>>> [email protected]> 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
>>>>>> [email protected], 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
>>>>> [email protected], 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: [email protected]
>>>>  _______________________________________________
>>>> Nuke-python mailing list
>>>> [email protected], http://forums.thefoundry.co.uk/
>>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>>>
>>>
>>> _______________________________________________
>>> Nuke-python mailing list
>>> [email protected], 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: [email protected]
>>  _______________________________________________
>> Nuke-python mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to