Pictures to Objects

Discussion about recent product features & solutions!
4 posts • Page 1 of 1
walterd
Posts:38
Joined: Wed Mar 13, 2013 10:39 pm

Pictures to Objects

Post by walterd »

Hello ,
is there a way to import a picture and transform it into an object with full functionalities as native graphics library objects ?
Thank You
Walter

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

Re: Pictures to Objects

Post by mkoller »

What is "a picture" in your terms ?
And what is "native graphics library objects" ?

If you are thinking of an image like .png, .jpeg, .svg, etc. then you can use these as fill pattern for primitives, e.g. rectangles, on which you can
put scripts as you like.

walterd
Posts:38
Joined: Wed Mar 13, 2013 10:39 pm

Re: Pictures to Objects

Post by walterd »

Let's say that I have a vector graphic picture and I would like to create an object similar to a pump or another graphic object already defined in WinCC-OA. Is that possible ? In other words is there a way to expand the graphics capabilities of WinCC-OA with user defined graphic objects ?
Thank You,
Walter

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

Re: Pictures to Objects

Post by mkoller »

As said you can use the vector image (svg, wmf) as fill pattern of a primitive Shape, e.g. a rectangle.
You can add functionality in that panel with the rectangle, e.g. putting scripts on the rectangle's clicked etc. scripts.
And you can save that panel e.g. below the pansl/objects folder and use it inside another panel as a reference panel.

What you can not do is to address certain parts of the vector image. The whole vector image is just drawn as the filling of a primitive shape.
The only thing you can do is to change one specific color inside it (the color which is selected via the color picker in gedi as being the backCol)

4 posts • Page 1 of 1