Function which gives access to protected layers. By default, protected layers cannot be accessed by the script. Any elements and parameters inside protected layers are hidden for the script. By calling this function with the correct password the script can access a protected layer and the elements and parameters of it.
Available in: Controller.
|pwd||The password of the protected layer.||string|
--access the protected layer with the password "abc123" addLayerPassword("abc123")