Map import (graphics)

Discussion about recent product features & solutions!
9 posts • Page 1 of 1
IBRAHIMALALI
Posts:67
Joined: Thu Oct 05, 2017 5:28 pm

Map import (graphics)

Post by IBRAHIMALALI »

Good day all,

I have a question regarding AutoCAD maps import to wincc oa.
Firstly is there exist away to import the AutoCAD maps to wincc directly .further more I don't want to import the map as an image (for example png ,svg etc...) since I have blocks in these maps and need them to be imported separated just to be able to animate and do initialization script for each block within the map( to give a clearer vision I have a map of a building containing 1500 smoke detectors to be imported on their exact location over the map dynamically )

Thank you for the support ,
Regards

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

Re: Map import (graphics)

Post by mkoller »

WinCC_OA has no built in support to load AutoCAD files.
I remember a solution one has done for a different CAD format many years ago, where they built an external program to read the CAD file and produce
out of the information a WinCC_OA panel file, where specific blocks (e.g. your smoke detectors) where then replaced by normal panel references, which
they could create and work with in the usual way.

IBRAHIMALALI
Posts:67
Joined: Thu Oct 05, 2017 5:28 pm

Re: Map import (graphics)

Post by IBRAHIMALALI »

Dear Martin Koller ,

Can you give us a trial version of the program or from where it is possible to get it ?

Regards

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

Re: Map import (graphics)

Post by mkoller »

I have no program, I just remember that ages ago someone has done it this way (but not with AutoCAD).

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: Map import (graphics)

Post by kilianvp »

IBRAHIM AL ALI wrote:
Dear Martin Koller ,

Can you give us a trial version of the program or from where it is possible to get it ?

Regards
you can convert it to dxf and parse it

IBRAHIMALALI
Posts:67
Joined: Thu Oct 05, 2017 5:28 pm

Re: Map import (graphics)

Post by IBRAHIMALALI »

Please could you tell me the name of the tool used to convert the dwg or dxf file to XML to be compatible with the wincc oa XML format .

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

Re: Map import (graphics)

Post by leoknipp »

You can search on the internet for a dxf to xml converter.
The produced xml file will not be recognized as WinCC OA XML panel file.
There is no tool available which converts a dxf file to WinCC OA panel file, or at least I do not know if someone has done it so far.

Best Regards
Leopold Knipp
Senior Support Specialist

IBRAHIMALALI
Posts:67
Joined: Thu Oct 05, 2017 5:28 pm

Re: Map import (graphics)

Post by IBRAHIMALALI »

Thank you Leopold for the help ,

I found the tool already and converted the file to XML , but until now I cant find a way to Parse the XML to wincc form , I really wish from anyone that has done this before to help me solving this.
.
Regards

chris@blue-catalyst.co.uk
Posts:32
Joined: Tue Jun 11, 2013 9:27 am

Re: Map import (graphics)

Post by chris@blue-catalyst.co.uk »

Hi Ibrahim,

Martin may have been referring to a project I did, but how we did it is not the answer you were looking for.

We had lots of autoCAD files showing building floor plans which we needed to bring into WinCC OA but like yourself we struggled to find an out of the box solution.

We have to split the dwf files into panel areas and saved these as jpg/png files. These were then used as the background to our panels.

A macro was run on the area in the dwf file which found the objects we were interested in, this logged to a text file the position of the object and the id of the object. We used the text file to update panel files with panel references to objects.

I hope you managed to find a way to bring in autoCAD files to WinCC OA as this could be very useful.

Best regards,

Chris Fairless

9 posts • Page 1 of 1