Import Ae Comps
When targetBin is omitted, compositions go to the active project's root. The host resolves that project once and explicitly passes its root item to both native AE import methods, following Adobe's sample panel. It does not rely on a null/default target bin. An explicit bin keeps its owning project, even when another project is active. Omitted or empty compNames imports all compositions; a non-empty list imports the named compositions. Native false results and errors retain the existing error-handling contract. All-composition and named-composition imports without a target bin were live-verified on Windows Premiere Beta 27.0 with After Effects Beta 27.0: correct root entries, online status, dimensions and frame rates. Exact 26.5 and macOS remain unverified. Use onError to decide whether errors stop the script, continue, or return false when the block supports it. If storeResultIn is set, the block also writes a result variable back to your graph. If targetBin is provided, the created sequence or imported items are placed there. When it points into another open project, the operation runs in that target project's context.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
aepPath | yes | expression | file-path-string | — |
compNames | no | expression | string, array | — |
targetBin | no | expression | reference, string, null | — |
onError | no | expression | enum-string | STOP, CONTINUE, RETURN_FALSE |
storeResultIn | no | variable-name | variable-name | — |
Notes
- When
targetBinis omitted, compositions go to the active project's root. The host resolves that project once and explicitly passes its root item to both native AE import methods, following Adobe's sample panel. It does not rely on a null/default target bin. An explicit bin keeps its owning project, even when another project is active. - Omitted or empty
compNamesimports all compositions; a non-empty list imports the named compositions. Native false results and errors retain the existing error-handling contract. All-composition and named-composition imports without a target bin were live-verified on Windows Premiere Beta 27.0 with After Effects Beta 27.0: correct root entries, online status, dimensions and frame rates. Exact 26.5 and macOS remain unverified.
See Also
- Premiere Reference Paths: Explains Premiere reference path strings for project items, sequences, tracks, timeline items, markers, components, and parameters.