1/18/2024 11:26 AM | |
Joined: 8/3/2009 Last visit: 1/17/2025 Posts: 14593 Rating: (1818)
|
Hello nilsig I testet it in TIA V19 and the change the color of the Polygon works if your script uses correct syntax. If you are unsure if your Scrip does what it should and if it runs into the correct if parts, you can also check with Script debugger: https://support.industry.siemens.com/cs/de/en/view/109779192 Bye Murof |
If this Information really helps, you could use the Rate function |
|
This contribution was helpful to1 thankful Users |
1/18/2024 6:59 PM | |
Joined: 3/16/2021 Last visit: 1/10/2025 Posts: 7 Rating: (0) |
D'oh! It is working great now! Rookie mistake! I did not see this myself and had given up.... Thank you for the help!
Hello, Murof. I am aware of the script debugger, but I was not able to tell why it did not work, but as Ricor 5 pointed out my return value was at the wrong place. |
This contribution was helpful to1 thankful Users |
Follow us on