Thanks Igor, I'll try that out. The explanation can wait. :-)
On 14 Sep 2011, at 16:03, Igor Majdandzic wrote:
> Use instead of nuke.nodes.Read()
>
> nuke.createNode('Read')
>
> then it works fine. But I cannot explain why, sorry
>
> On 9/14/2011 1:03 PM, Matt Wood wrote:
>> Hello all, I'm try to do this...
>>
>>
>> read_node = nuke.nodes.Read()
>>
>> read_node['first'].setValue(100)
>> read_node['last'].setValue(200)
>>
>> read_node['origfirst'].setValue(90)
>> read_node['origlast'].setValue(210)
>>
>>
>> but that last two lines don't have any effect. origfirst and origlast get
>> set to 100 and 200 respectively.
>>
>> It seems some process is changing them back to those values once my script
>> has finished running. How can I get around it?
>>
>>
>> _______________________________________________
>> 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