Adobe 12040118 Using Help - Page 112
LayerCollection addNull() method
![]() |
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 112 highlights
Help Using Help Reference Back 112 Parameters name centerPoint string; name of the new layer floating-point array containing 2 values; center of the new light Returns Light layer. LayerCollection addNull() method app.project.item(index).lcoll.addNull(duration) Description The LayerCollection addNull() method returns a newly created layer in the Comp that owns the LayerCollection. The method has the same effect as choosing Layer > New > Null Object. If duration is provided, then the duration of the newly created layer will be the passed value. If duration is not provided, then the duration will be determined by user preferences. Note that by default, user preferences specify that the duration be set equal to that of the CompItem into which the layer is being added. The preference can be changed to a specific duration in the Preferences dialog box. Choose Edit > Preferences > Import (Windows) or After Effects > Preferences > Import, and specify options under Still Footage. Parameters duration optional floating-point value specifying the duration of the new layer Returns AVLayer. LayerCollection addSolid() method app.project.item(index).lcoll.addSolid(color, name, width, height, pixelAspect, duration) Description The layerCollection addSolid() method creates a new FootageItem whose mainSource is a SolidSource according to the specified parameters, and adds it to the project. This method also creates a new AVLayer that has that new FootageItem as its source, and adds that layer to the containing CompItem. Note that by default, user preferences proscribe that the duration be set equal to that of the CompItem into which the layer is being added. The preference can be changed to a specific durationin the Preferences dialog box. Choose Edit > Preferences > Import (Windows) or After Effects > Preferences > Import, and specify options under Still Footage. Using Help Back 112
![](/manual_guide/products/adobe-12040118-using-help-afc463d/112.png)