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
Map import (graphics)
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Map import (graphics)
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.
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)
Dear Martin Koller ,
Can you give us a trial version of the program or from where it is possible to get it ?
Regards
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)
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)
IBRAHIM AL ALI wrote:
you can convert it to dxf and parse itDear Martin Koller ,
Can you give us a trial version of the program or from where it is possible to get it ?
Regards
- IBRAHIMALALI
- Posts:67
- Joined: Thu Oct 05, 2017 5:28 pm
Re: Map import (graphics)
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)
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
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)
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
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)
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
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