Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »



Function that gives access to protected layers. By default, protected layers cannot be accessed by scripts. The parameters of a protected layer and any elements inside of it are hidden for scripts. This prevents someone unauthorized from parsing the program tree to retrieve hidden information. By calling this function with the correct password, the calling script can access the corresponding protected layers again.

To hide the password in addLayerPassword, you must also protect the script module. See Managing Script Modules for details.

Available in: Controller.


pwdThe password of the protected layer(s).string


-- access the protected layer(s) which have the password "abc123"

See Also: Protecting Layers

  • No labels