- I'm exporting some GIS data out of my GIS and into an .AI export. It contains a roads data layer. When I do this the road centerlines as well as sides get exported and they are for the most part on top of each other. I need to be able to reduce the huge file size by eliminating the duplicates. In my lasing software there is a tool to remove overlapping lines and an offset that I can say within .1mm or whatever. Very useful. If I can do this in CorelDraw 2020 it would be much better as the file size will decrease dramatically. These are lines, not shapes. Illustrator does not do this and no plugins exist to remove them as far as I've found. Any ideas? Thanks in advance
Dean Forss
GIS Scientist - Cartographer
I've seen a macro for this out there.
Hi Myron, I saw one from 8 years ago but wasn't sure if CD2020 would work, I think it was x4. If you have a link or know it works that would be great.
I believe this is the same macro I use. It will delete underlying duplicate objects but I think you might be looking for something else based on your description. This works in 2018 but the process bar gets stuck requiring a restart of Corel to clear it out. Try it and let us know if it does some of what you are looking for. http://makerspacemobile.org/wiki/index.php/GCC_Venus
Oops I see they make you sign in to download the file but here is a ZIP of the macro.
https://tinyurl.com/rulodgr
Yep, that's the one I was referring to. Only downfall is that each shape must be a curve. i.e. can't remove dupes of true ellipses and rectangles
This version works on true shapes. It even leaves the rectangles active. I guess some modifications were made to it over the years.
Why, yes, yes it does. Nice.
Also added
stat.EndProgress
To the last line before End Sub to close out the progress bar
Myron said:Also added
Myron said:stat.EndProgress
Myron said:To the last line before End Sub to close out the progress bar
Does that actually make the progress bar work correctly? Display it, have it update properly to show progress, and then have it disappear - all in one cycle of the macro?
I could get the progress bar to work as expected in X5, but never in X7 or newer:
VBA users: help me understand how to use the CorelDraw progress bar, AppStatus, etc.?