Problem with setting position for reference panels which were added via addSymbol function

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
4 posts • Page 1 of 1
vadim
Posts: 11
Joined: Thu Jan 19, 2017 2:39 pm

Problem with setting position for reference panels which were added via addSymbol function

Post by vadim »

Hi, collegues!
I have problem with setting position property for reference panels which were added via addSymbol function. I'm setting X property same for all,but first panel always located more to the left of others.
This problem fires just in WinCC OA 3.15 (P012), in 3.14 all works correct.

Code: Select all

for (int y = 10; y
Attachments
JPG.JPG

User avatar
mkoller
Posts: 741
Joined: Fri Sep 17, 2010 9:03 am

Re: Problem with setting position for reference panels which were added via addSymbol function

Post by mkoller »

I can reproduce the problem. It's a bug where in the case when the panel refs are cached, the internal reference point was not reset to (0, 0) and was kept at (-1, -1) which leads to all but the first non-cached panelRef being 1 pixel wrong in each direction.

vadim
Posts: 11
Joined: Thu Jan 19, 2017 2:39 pm

Re: Problem with setting position for reference panels which were added via addSymbol function

Post by vadim »

Thanks for reply.
Will it be fixed in 3.15 or I need handle it in code?

User avatar
Andorhal
Posts: 127
Joined: Wed Nov 12, 2014 8:04 am

Re: Problem with setting position for reference panels which were added via addSymbol function

Post by Andorhal »

Hello.
We plan to bring the fix to 3.15/3.16/3.17.
BR Robert

Post Reply
4 posts • Page 1 of 1