LayerCollection
 
 
 

LayerCollection

Introduced

v4.0

Description

A collection of Layer objects that represent the layers in the Scene.

Properties

Count operator Item operator    
       

Examples

JScript Example

/*
This example demonstrates how to access the layers collection 
and get the first layer (the default) in the collection.
*/
var oLayers = ActiveProject.ActiveScene.Layers;
LogMessage( ClassName(oLayers) );               // Returns "LayerCollection"
LogMessage( oLayers(0) );                       // Returns "Layers.Layer_Default"
LogMessage( ClassName(oLayers(0)) );            // Returns "Layer"

See Also

Scene.Layers