(0)| 1/16/2023 12:59 PM | |
|
Joined: 8/3/2009 Last visit: 1/16/2026 Posts: 16644 Rating:
|
Hello johndeereplc I did a short test and it works in my WinCC V17 Prof RT. (latest Upd) here the basic FAQ: https://support.industry.siemens.com/cs/de/en/view/24074628 you need always the correct context/object. Only if your script runs in the same screen context you can use Layer.... If you are in a different screen context like in another screenwindow then you have to go to the right screen context and use the correct screen object obj.Layers..... Number starts always with 1 here -> Layers(2) is layer 1 in engineering (runtime starts with 1 engineering starts with 0) Bye Murof |
|
If this Information really helps, you could use the Rate function |
|
Follow us on