If you just put the stereo'ified template.nk somewhere on NUKE_PATH, the
contents will be automatically loaded when a new script is created (and
it can't be saved over, unless you very intentionally click "File > Save
As", locate the file and overwrite it)
You can also run nuke.pluginAddPath("/path/to/nukestuff") in init.py,
where the nukestuff/ directory contains template.nk
Brandon Harris wrote:
> Would also be nice to have the ability to lock those template scripts
> that you create. I've run into a couple of occasions where an artist
> opens a template and then saves over it with their goofing around
> scripts. Right now our solution is to just set the permissions to read
> only for it.
>
> Brandon L. Harris
>
>
>
> On 03/29/2011 06:40 AM, Matthieu Cadet wrote:
>> to be has default ( stereo views, view color, etc.. ), and save this
>> empty script as template.nk and put it in your NUKE_PATH.
>
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python