10/18/2016 3:49 PM | |
Joined: 6/3/2014 Last visit: 4/16/2025 Posts: 660 Rating:
|
Hello mtb4outdoor, here is an FAQ about how to dynamize objects in WinCC Comfort/Advanced using VB script:
It's an FAQ I like very much personally, because it was my entry into VBS for WinCC TIA Portal. (If you search for it in the forum you can find a list of more FAQs about VBS which I posted several times - if you're interested.) Here is the manual page with the list of all the object types. For each object type you'll find the dynamizable properties. Here is the page for the "Line" object type: https://support.industry.siemens.com/cs/ww/en/view/109091876/36127458059 You can dynamize the starting position if the line object (left = x, top = y), but you can't rotate it (only in RT Prof). I'm not sure if top and kleft refere to the starting point of the line or of the "invisible rectangle" around the object.I guess with width and height you should be able to change the length of the line. I can't test it at the moment. |
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ★ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |
|
This contribution was helpful to
1 thankful Users |
Follow us on