The OCIOCDLTransform node uses Python code from the `ocionuke.cdl` module to apply CDLs from files to its knobs. At first glance, it looks like the easiest thing to do in an automation scenario would be to apply the path to the file knob and then call `ocionuke.cdl.set_first_cccid(cdlNode)`.
-Nathan On 4/14/2017 7:40 AM, Michael Habenicht wrote: > No, the ociofiletransform does not show sops values. > > A python module for cdl XML file handling which is also used in the > ociocdltransform node is included in nuke. > I have a snippet using it to create a baked ociocdltransform node which I can > look up on Tuesday. > > Cheers! > > Howard Jones <mrhowardjo...@yahoo.com> wrote: > >> Thanks Michael >> >> I'll take a look Tuesday when on a machine. Does this show the colour >> transform data? In the CDLtransform you can see slope, saturation >> etc... ? useful to check something's failed. Only the ref guide doesn't >> seem to include it. >> >> Out of interest though Is there a way to trigger the CDL to actually do >> the read via Python? >> >> Howard >> >>> On 13 Apr 2017, at 11:44 pm, Michael Habenicht <m...@tinitron.de> >> wrote: >>> Hi Howard, >>> Just use the OcioFiletransform for that. The file knob there is >> always live updating und supports every file format that is included in >> ocio. >>> For a shot cdl I would recommend defining a look in your ocio config >> and use the OcioLooktransform. >>> Cheers! >>> >>> Howard Jones <how...@axis-vfx.com> wrote: >>> >>>> Hi all >>>> >>>> I want to create an OCIOCDLTransform node automatically if there is >> a >>>> CDL attached to the shot. >>>> >>>> And so far so good, however I can't get the read file knob to work. >>>> I've loaded the path and set the read file to true but the file >> isn't >>>> read unless I manually toggle it on and off. >>>> >>>> I've tried setting file path first then the read file and the other >> way >>>> around and I'm using fromUserText. But nothing works. >>>> >>>> I'm sure similar has been discussed but any help greatly >> appreciated. >>>> Thanks >>>> >>>> Howard >>>> -- >>>> >>>> >>>> >>>> *A X I S V F X* >>>> >>>> The Bottle Yard Studios >>>> >>>> Whitchurch Lane >>>> >>>> Bristol BS14 0BH >>>> >>>> >>>> >>>> axis-vfx.com >>>> _______________________________________________ >>>> Nuke-python mailing list >>>> Nuke-python@support.thefoundry.co.uk, >> http://forums.thefoundry.co.uk/ >>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>> -- >>> Sent from my Android tab with K-9 Mail. Please excuse my brevity. >>> _______________________________________________ >>> Nuke-python mailing list >>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> _______________________________________________ >> Nuke-python mailing list >> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python