The ImportOptions object encapsulates the options used to import a file with the Project.importFile methods.The constructor takes an optional parameter, an
Tag Archives: new
setValueAtTime()
Sets the value of a keyframe at the specified time. Creates a new keyframe for the named property, if one does not currently exist for the specified time, a
usedIn
All the compositions that use this AVItem.Note that upon retrieval, the array value is copied, so it is not automatically updated. If you get this value, th
addFolder()
Creates a new folder. Creates and returns a new FolderItem object and adds it to this collection.If the ItemCollection belongs to the project or the root fo
autoFixExpressions()
Automatically replaces text found in broken expressions in the project, if the new text causes the expression to evaluate without errors.oldText The text to
parentFolder
The FolderItem object for the folder that contains this item. If this item is at the top level of the project, this is the project’s root folder app.project
setValuesAtTimes()
Sets values for a set of keyframes at specified of times. Creates a new keyframe for the named property, if one does not currently exist for a specified tim
setProxy()
Sets a file as the proxy of this AVItem. Loads the specified file into a new FileSource object, sets this as the value of the proxySource attribute, and set
addLight()
Creates a new light layer and adds the LightLayer object to this collection.The new layer honors the Create Layers at Composition Start Time preference.name
importFile()
Imports the file specified in the specified ImportOptions object, using the specified options. Same as the File > Import File command. Creates and returns a