Skip to main content
Version: 9.0.2

gre.set_layer_attrs_global

gre.set_layer_attrs_global(
layer_name,
table
)

Set properties for a layer globally on all instances of the layer on all screens. The layer_name is the name of the layer.  Table contains the tags and values for the properties to set.

alpha, hidden, active, x, y, width, height

Parameters

ParameterTypeDescription
layer_name#stringThe model full path of the layer to change properties on.
tag_table#tableA table with tags as the keys and the new values stored as the table's key values.