Hi,
I just got successful using nukescripts.camerapresets.addPreset(“label
here", 27.75, 15.61)

(also you mails always end up in spam for some reason)

*Erwan* LEROY
www.erwanleroy.com

On Fri, Mar 11, 2016 at 11:31 PM, Howard Jones <[email protected]>
wrote:

> Hi
>
> Been looking at adding a predefined filmback preset to camera tracker.
> I have node presets fine
> eg.
> nuke.setPreset("Camera2", "CCD/One Fourth Inch CCD 1.78", {'haperture':
> '3.5', 'label': 'One Fourth Inch CCD', 'note_font': 'Helvetica',
> 'vaperture': '2’})
>
> which comes up in the preset tab
>
> but I can’t get my head around the code for filmback presets.
> I thought it might be
>
> nuke.addPreset(“label here", {'filmBackSize': '27.75 15.61'})
>
> but I get an error.
>
> I’ve looked here
>
> http://docs.thefoundry.co.uk/nuke/80/pythonreference/nukescripts.camerapresets-pysrc.html
> but I can’t figure out what this line would be.
>
> Any help greatfully appreciated.
>
> Howard
>
>
> _______________________________________________
> 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