Command · Export CDL
cdl.export
Writes clips' colour wheels as an ASC CDL: slope = gain - lift, offset = lift + offset, power = gamma, saturation. .cc holds one clip; .ccc and .cdl several (ids are the clip names).
- v1
- Capability EditProject
- Tool
cdl_export
Request
{
"command": "cdl.export",
"params": {
"clip": 42,
"path": "C:/grades/shot42.cc"
}
}Parameters
clipinteger | object (1..)- The clip. A clip id, or {"track", "time"} for the clip there.
clips(integer | object (1..))[], min 1- Clips to change (or "clip" for one).
effectinteger (1..)- The grade's effect instance id when the clip has several (clip.details lists them). Default: its first grade.
overwriteboolean- Replace an existing file. Default false.
pathstringRequired- The .cc, .ccc or .cdl file to write.
sequenceinteger (1..)- Sequence id; only needed when the project has several.
Discussion
Writes clips' colour wheels as an ASC CDL: slope = gain - lift, offset = lift + offset, power = gamma, saturation. .cc holds one clip; .ccc and .cdl several (ids are the clip names). Refuses to replace a file unless "overwrite".
Run it with wabcut-cli cmd <project> --json, from an MCP client as cdl_export, or from an extension. See Edit commands for requests, references and results.
See also
cdl.*
- cdl.import
Import CDL. Sets clips' colour wheels from an ASC CDL file (.cc, .ccc, .cdl): the correction whose id is the clip's name, else the one at the clip's position, or "index".