How to change Graphic Element size when its called via Aspect view Button?
I have a Button(AspectView) that calls a Graphics Element(Object Type Structure) with some graphics, but it always come with the same size, even if I change Width or Height.
Is there anyway to override the default size?
Answers
Most (all?) windows in the operator workplace of the 800xA HMI are controlled via so called View Classes.
If you want one or a subset (of all existing) overlapping graphic windows to arrive with a different geometry you could do as follows:
1) Create new aspect category of PG2 Graphic Display in Aspect System Structure
2) Create new View Class (copy existing?) in Library Structure and change width & height
3) Add View Class Reference on new category and point it to the new View Class.
4) Create new graphic aspect of new category and copy paste content there
If you make subsequent changes to the View Class you need to restart the workplace(s) as the settings are read once and cached until its closed.
A long way to get there though... and a pity that you can't change category on existing aspects.
Hi,
Create New Graphic Element aspect , Open it in Graphic Builder ,
Change the size of the new aspect to desired size.
I hope to be Usefull.
Warm Regards.
Source: Graphic Element PG2, Graphic Builder
Add new comment