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).
// get accessor Layer rtn = Scene.ActiveLayer; |
' ' This example demonstrates how to get the current layer ' NewScene , false set oCurrentLayer = ActiveProject.ActiveScene.ActiveLayer LogMessage oCurrentLayer ' Expected result: 'INFO : Layers.Layer_Default |