I think we'll probably build our own wrapper around
ExportObject - this constructor specifically:
ExportObject(UC4ObjectName[] names,
List<IFolder> folders,
File export,
boolean exportLinks)
Export given folder list and objects
It’ll be straightforward, taking advantage of the AE’s built-in support (since v11) for encoding AE folder structures in the
FolderStruct
element in the XML files. The only downside to this approach is that we’ll have to fetch the entire folder tree just to get the IFolder object required by the constructor. (There’s unfortunately
no other way to get an IFolder of a particular AE folder. See this enhancement request:
More ways to get IFolder objects.)