Creates a new CompItem object and moves the specified layers into its layer collection. It removes the individual layers from this collection, and adds the
Tag Archives: name
save()
Saves the project. The same as the File > Save or File > Save As command. If the project has never previously been saved and no file is specified, prompts t
isNameSet
True if the value of the name attribute has been set explicitly, rather than automatically from the source.Boolean; read-only.
getSetting()
Retrieves a scripting preferences item value from the preferences file.sectionName A string containing the name of a settings sectionkeyName A string contai
isNameFromSource
True if the layer has no expressly set name, but contains a named source. In this case, layer.name has the same value as layer.source.name.False if the laye
typeName
A user-readable name for the item type; for example, Folder , Footage , or Composition .String; read-only.
saveWithDialog()
Shows the Save dialog box. The user can name a file with a location and save the project, or click Cancel to exit the dialog box.None.Boolean; true if the p
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
haveSetting()
Returns true if the specified scripting preferences item exists and has a value.sectionName A string containing the name of a settings sectionkeyName A stri
CameraLayer object
The CameraLayer object represents a camera layer within a composition. Create it using the LayerCollection objectメs addCamera method; see LayerCollection a