Hello,
Is it possible to create a solid and put it in an other folder than default folder "Solids"?
Thanks
Frédéric
put a Solid in an other folder than default folder "Solids"
Moderator: Paul Tuersley
You can just move it after you create it. Here's a snippet from the docs.
Code: Select all
//create a new FolderItem in project, with name “compsâ€
var compFolder = app.project. items.addFolder(“compsâ€);
// move all compositions into new folder by set t ing
// compItem’s parentFolder to “comps†folder
for(var i = 1; i <= app.project.numItems; i++) {
i f(app.project.item(i) instanceof CompItem)
app.project.item(i).parentFolder = compFolder;
}