Skip to main content

For Each Track Item

Category: Pr Tracks & Clips For Each Track Item block screenshot

Iterates over the items of a track, with optional kind filter, time range, and order. If you provide indexVar, the block also exposes the current zero-based iteration index. If fromSeconds and/or toSeconds are provided, the block limits its work to that time range. Use kind to limit which item type the block should include.

Inputs

InputRequiredValue KindTypesEnum Values
itemVaryesstring
indexVarnostring
trackyesexpression
kindnoexpression
fromSecondsnoexpression
toSecondsnoexpression
ordernoexpression

Notes

  • Iterates items of a track (kind filter, optional range, optional order).

Examples

Iterate Clips In V1

Resolves V1 and loops over all clip items on that track.

kind: Pattern · format: runtime-dsl · validation: MCP fixture

Topics: track iteration, clip iteration

Source: patterns/ex-track-items-iterate-v1-clips.json

Download JSON

Place Multiple Source Ranges From One Clip

Creates an empty sequence, then fills it with three explicit source ranges from one clip while verifying the original project-item in/out gets restored afterward.

kind: Pattern · format: runtime-dsl · validation: MCP fixture

Topics: timeline placement, source range placement, sequence creation

Source: patterns/ex-sequence-place-multiple-source-ranges-from-one-clip.json

Download JSON

Traverse Nested Sequences With Deduped Worklist

Traverses the active sequence and nested sequences through a pending/seen worklist so nested sequence refs are not processed twice.

kind: Pattern · format: runtime-dsl · validation: MCP fixture

Topics: sequence traversal, nested sequences, clip iteration, lists

Source: patterns/ex-sequence-traverse-nested-deduped.json

Download JSON