Access Shape on Panel in Embedded Module

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
Flick
Posts:6
Joined: Fri Jan 15, 2016 11:42 am

Access Shape on Panel in Embedded Module

Post by Flick »

Hey is it possible to access a shape on a panel on an embedded module?

I have primitive text on a panel, I'm rooting this panel on an embedded module. The embedded module sits on my base panel.

Using the help I've been able to open the panel in a new module and get the value. I've try several different syntax options but can't seem to get the same value from the embedded module. Can it be done :?:

Cheers!

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Access Shape on Panel in Embedded Module

Post by leoknipp »

If you want to access a shape in another panel you have to use the following syntax:
setValue("moduleName.panelName:shapeName","property","value");

More information you can find in the WinCC OA Documentation when searching for setValue.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1