Skip to main content
Participant
June 10, 2024
Answered

How to set Hue vs Hue curve value with extendscript ?

  • June 10, 2024
  • 1 reply
  • 404 views
var project = app.project;
var sequence = project.activeSequence;
var tracks = sequence.videoTracks;
var mainTrack = tracks[0];
var clips = mainTrack.clips;
var mainClip = clips[0];

var components = mainClip.components;
var effect;

for (var i = 0; i < components.numItems; i++) {
    if(components[i].displayName == "Lumetri Color") {
        effect = components[i];
        break;
    }
};
 
var huevshue = effect.properties[59].getValue();
$.writeln(effect.properties[59].displayName + "        " + huevshue);
 
 
 
 
This code is giving the value -         Hue vs Hue       
Can someone please tell me what is this   and how to decode it. Or is there any other or better way to set HuevsHue curve value. I want to set the value of Huevs hue curve.
This topic has been closed for replies.
Correct answer Bruce Bullis

Not all data types are documented for 3rd party manipulation; Lumetri params are one such data type.

1 reply

Bruce Bullis
Bruce BullisCorrect answer
Legend
June 10, 2024

Not all data types are documented for 3rd party manipulation; Lumetri params are one such data type.

Participant
June 11, 2024

Thank you for your reply. But we can set or change the other values in Lumetri Color like saturation, temperature with extendscript. The properties which have type  - number , boolean can be manipulated using the above code then why not the values of RGB curves.

Bruce Bullis
Legend
June 11, 2024

Because the data behind those RGB curves is proprietary, and not available for manipulation via API.