Dear WinCC OA Community,
Is there a way to get the panel reference size calculated which is usually done by the Gedi itself and displayed in the attribute window.
(see attached screenshot).
As you see, the panel of the reference is much bigger as the values of the size attributes.
For me it seems that the Gedi calculates internally the width and height via “shape group boundaries” of a reference?!
For me it would be very beneficial to know, how those values are calculated by the Gedi itself. And is there a way to store those values inside of a reference panel to parse it later somehow with an external tool?
BR
Dieter Schneider
How does the GEDI calculate the size of a reference symbol
- dschneid
- Posts:36
- Joined: Wed Jun 13, 2012 8:42 am
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How does the GEDI calculate the size of a reference symbol
The size of the reference is the size of the bounding box which covers all elements in the reference.
I do not know a possibility to the reference size and to store them in the panel or anywhere else.
Why do you need the size of the reference?
More of interest is normally the position of the reference point.
Best Regards
Leopold Knipp
Senior Support Specialist
I do not know a possibility to the reference size and to store them in the panel or anywhere else.
Why do you need the size of the reference?
More of interest is normally the position of the reference point.
Best Regards
Leopold Knipp
Senior Support Specialist
- dschneid
- Posts:36
- Joined: Wed Jun 13, 2012 8:42 am
Re: How does the GEDI calculate the size of a reference symbol
Hi Leo,
we are looking to automate our engineering regarding layout design ( a layout in our case is a topological view - or schematic view of a railway track network and has nothing to do with WinCC OA layout management).
So the future solution should be able to add references (incl. unique reference names and $Params) into a panel which will be later a layout for a dedicated railway station. The tool will be developed external (Java,....) so out of WinCC OA (so the XML Panles are created by that tool - the references are still developed with GEDI).
But anyway:
If I would like to put a reference exactly after the end of the previous reference via addSymbol(), the widht and heigth would be necessary to know for the developer - right?
BR
Dieter
we are looking to automate our engineering regarding layout design ( a layout in our case is a topological view - or schematic view of a railway track network and has nothing to do with WinCC OA layout management).
So the future solution should be able to add references (incl. unique reference names and $Params) into a panel which will be later a layout for a dedicated railway station. The tool will be developed external (Java,....) so out of WinCC OA (so the XML Panles are created by that tool - the references are still developed with GEDI).
But anyway:
If I would like to put a reference exactly after the end of the previous reference via addSymbol(), the widht and heigth would be necessary to know for the developer - right?
BR
Dieter
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How does the GEDI calculate the size of a reference symbol
If you want to put references (of a similar size) next to each other you can probably use a grid layout.
I just made a simple test and it looks like the size of the bounding box is only calculated during runtime.
There is no information for the bounding box saved in the panel file.
Best Regards
Leopold Knipp
Senior Support Specialist
I just made a simple test and it looks like the size of the bounding box is only calculated during runtime.
There is no information for the bounding box saved in the panel file.
Best Regards
Leopold Knipp
Senior Support Specialist