Skip to main content
Participant
June 10, 2024
Answered

How to set RGB curve value in Lumetri Color in Premiere Pro using extendscript ?

  • June 10, 2024
  • 1 reply
  • 299 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;
    }
};
 
for(var i = 0; i < number; i++) {
    try {
        $.writeln("Property " + i + " : " + effect.properties[i].displayName + "   " +  " Value - " + effect.properties[i].getValue());
    }
    catch(e) {
        $.writeln(e);
    }
};
 
After executing the code I got this- 
Property 46 : Curves Value - false
Property 47 : Active Value - true
Property 48 : RGB Curves Value - false
Property 49 : Active Value - true
Property 50 : HDR Range Value - 100
Property 51 : Value -
Property 52 : Value - false
 
I am not able to access the RGB curve in lumetri color . Can someone please help in how to set RGB curves value in Lumetri Color using Extendscript ?
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.