SetName()
Updated: 8 Jan 2024
Purpose
#
Sets the name of the layer.
Syntax
#
void SetName(String layer_name);
Parameters
layer_name | The name the layer is to be set to. |
Example
#
function Update()
{
layer = Document.FindLayer("My Layer");
layer.SetName("My New Layer Name");
}