Scene.ActiveLayer

Description

Returns the currently active Layer object. Layers help you organize, view, and edit the contents in your scene, but they only affect the final render if you want them to (they are not associated with render passes).

Examples

VBScript Example

'
' This example demonstrates how to get the current layer
'
NewScene , false
set oCurrentLayer = ActiveProject.ActiveScene.ActiveLayer
LogMessage oCurrentLayer
' Expected result:
'INFO : Layers.Layer_Default

See Also

Scene.Layers Layer LayerCollection GetCurrentLayer CreateLayer SICreateLayer DeleteCurrentLayer