Skip to content

Commit 1757680

Browse files
author
rdeioris
authored
Update sequencer_API.md
1 parent 6f93e1a commit 1757680

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

docs/sequencer_API.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,29 @@ Adding Keyframes to sections
7676
Managing the camera cut track
7777
-----------------------------
7878

79+
Folders
80+
-------
81+
82+
listing folders
83+
84+
```python
85+
86+
# get the root folders
87+
root_folders = seq.sequencer_folders()
88+
89+
# get subfolders
90+
sub_folders = seq.sequencer_folders(root_folders[0])
91+
```
92+
93+
creating folders
94+
95+
```python
96+
new_folder = seq.sequencer_create_folder('Folder001')
97+
98+
# create subfolder
99+
new_sub_folder = seq.sequencer_create_folder('SubFolder001', new_folder)
100+
```
101+
79102
Notify changes to the editor
80103
----------------------------
81104

@@ -85,7 +108,7 @@ Some of the sequencer api operations do not update the editor, if you need to fo
85108
seq.sequencer_changed(True)
86109
```
87110

88-
the boolean argument (if true) move the editor focus to the sequencer
111+
the boolean argument (if True) move the editor focus to the sequencer
89112

90113
Example
91114
-------

0 commit comments

Comments
 (0)