Can you tell us what version of Nuke you're using? 

Thanks.

On Thu, 2 Jun 2011 13:07:00 +0200, John RA Benson
<[email protected]> wrote:
> Has anyone had the problem where an enumeration knob is returning the
> index instead of the txt? Is there a fix for this, as some shots get it,
> but most of the time the knob will be correct. I don't know what would
> cause it to save txt in some cases and the index in others.
> 
> for instance, this is the knob and a correct save:
>  addUserKnob {4 soloToRGBA l "solo layer to rgba" t "Disables checkboxes
>  and forces this layer only into the RGB" M {none rgbaz depth _ambient
>  _diff _environment _index _lambert _light_all_bounce _light_all_contre
>  _light_all_debouche _light_all_sun _light_all_tube _refl _spec _trsp
>  _uniform _vnorm _wnorm}}
>  soloToRGBA _light_all_bounce
> 
> but sometimes, i don't know how or why, a script will look like this:
>  addUserKnob {4 soloToRGBA l "solo layer to rgba" t "Disables checkboxes
>  and forces this layer only into the RGB" M {none rgbaz depth _ambient
>  _diff _environment _index _lambert _light_all_bounce _light_all_contre
>  _light_all_debouche _light_all_sun _light_all_tube _refl _spec _trsp
>  _uniform _vnorm _wnorm}}
>  soloToRGBA 8
> 
> In the latter case, the script will open with the totally frustrating
> error:
> 
> 'nothing is named "/path/to/my/messed/up/script"' (without the .nk
> extension)
> 
> And it's botched. Dead at that node.
> 
> Any ideas?
> 
> Thanks
> JRAB
> 
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to