v4.0
/* 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" |