I applyed overkill to get rid of duplicated lines in a Revit export to dwg.
Though it worked for a lot of them, there are some that keep remaining, even some that are "exactly" the same...
Attached there is the 2 messed up lines. Autodesk should give a prize to anyone that find a way to remove the duplicated line in an automatic way (not selecting it and deleting it, ๐ lol).
I'm official out of ideas.
Solved! Go to Solution.
Overkill works fine (or better: it works like usual) in that file, but your example lines are different..
The Problem is: The Lines has (too much) different ANGLES, Overkill will not accept this as "equal" lines,
regardless of fuzzi value.
command: (progn(setq ss (ssget"_X"))(alert(strcat "Angle\n1: " (rtos(vla-get-angle(vlax-ename->vla-object(ssname ss 0)))2 15)"\n2: "(rtos(vla-get-angle(vlax-ename->vla-object(ssname ss 1)))2 15))))
Sebastian
Hi @cadffm! Thanks a lot for your responce. I knew this would be the problem, that is why I wrote "exactly" between commas... Though I would expect that, what you call, the fuzzy value would solve that. Aparently, it doesn't, and you say the problem is the angle beeing too different, even thought it apears as the same in the property window.
Did I get it right?
Anyway... Bottom line: Is there any way I can eliminate this kind of duplicates? I got a lot of them, still...
This creates very heavy autocad files, and I bet I'm not the only one that is pulling hair because of Revit lame exports...
I don't know if what I managed will suit your purpose or not, but by "tinkering" with the settings in overkill dialog box, I got it to delete one of the 2 lines. This may be a bit too aggressive for what you need, make sure you try it on a copy that you can simply trash if it does too much and undo "doesn't". I have had to make a lot of use of overkill to clean up files that other folks have converted into 2d ACAD files from 3d. See screen-snip. Using plain vanilla AutoCAD 2019, btw.
Then angles probably show the same in properties window because of what the precision is set too. It's just rounding the actually angles.
Nick DiPietro
Cad Manager/Monkey
Thanks a lot @cadffm! I've never would have guessed that would work. But I'm glad it did! ๐
Just in one section more than 300 lines gone in just the topography layer. I did find some that are still there but I can definitly live with those.
PS: Yes, I increased the angle precision (no ideia why it was so low... odd) and you were right. ๐
Can't find what you're looking for? Ask the community or share your knowledge.