remove_sequence_folder
Remove a Sequencer outliner folder from a Level Sequence's movie scene inside an undo transaction and save the sequence to finalize the change.
Instructions
Remove a Sequencer outliner folder (root, or a named child of parent_folder) from a Level Sequence's movie scene, inside an undo transaction, and save the sequence; success requires the save. Inverse of add_sequence_folder; idempotent by name: an absent folder succeeds with already_absent true and saved false (nothing is written).
Returns: { sequence_path: string, folder_name: string, parent_folder: string, removed: bool, already_absent: bool, root_folder_count: int, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_name | Yes | Name of the folder to remove. | |
| parent_folder | No | Optional name of the parent folder (searched recursively); if given, the child folder named folder_name is removed from it instead of a root folder. | |
| sequence_name | No | Alias for sequence_path. | |
| sequence_path | No | Asset path OR bare asset name of the target Level Sequence. |