[UXP] createSequenceWithPresetPath() is not a function - How to create sequence with custom preset?

[UXP] createSequenceWithPresetPath() is not a function - How to create sequence with custom preset?

Premiere Pro Version: 25.6.3 (also tested on Beta 26.0)
Platform: Windows
Project Template: react-starter

Problem:

I’m trying to create a sequence using a custom preset (.sqpreset), but I’m facing two different issues depending on which method I use:

Attempt 1 - Using createSequence() with presetPath:

javascript

const project = app.project;
const presetPath = "C:/path/to/my/preset.sqpreset";

try {
    const sequence = await project.createSequence("MySequence", presetPath);
} catch (error) {
    console.error(error); // Error: Invalid preset format
}

Result: Invalid preset format error when pointing to the .sqpreset file

Attempt 2 - Using createSequenceWithPresetPath() (as per documentation):

According to the official documentation, the presetPath parameter is deprecated and we should use createSequenceWithPresetPath() instead:

javascript

const project = app.project;
const presetPath = "C:/path/to/my/preset.sqpreset";

try {
    const sequence = await project.createSequenceWithPresetPath(
        "MySequence", 
        presetPath
    );
} catch (error) {
    console.error(error); // createSequenceWithPresetPath is not a function
}

Result: TypeError: createSequenceWithPresetPath is not a function

Questions:

  1. Has the createSequenceWithPresetPath() method actually been implemented, or is it still pending?

  2. Is there any alternative way to create sequences with custom presets via UXP?

  3. Does the .sqpreset file path need to follow any specific structure or format?

What I’ve already tried:

  • :white_check_mark: Verified that the .sqpreset file exists and is valid (works normally through Premiere UI)

  • :white_check_mark: Tested with both absolute and relative paths

  • :white_check_mark: Checked UXP API version in manifest.json

  • :white_check_mark: Tested on both stable release (25.6.3) and beta (26.0)

  • :white_check_mark: Using standard react-starter template

Any guidance would be greatly appreciated!

It’s implemented, but not (yet) exposed. Sorry about that. We’re tracking this non-exposure as DVATA-711, and will keep you informed of our progress.

1 Like