sb.setLayerAttrsGlobal

sb.setLayerAttrsGlobal(layerName, tagObject)

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

alpha

hidden

active

x

y

width

height

Parameters:
    layerName         The model full path of the layer to change properties on
    tagObject         An object with tags as the keys and the new values stored as the object's key values
Was this article helpful?
0 out of 0 found this helpful