Join Polylines

Join Polylines

john_daues
Advocate Advocate
2,943 Views
5 Replies
Message 1 of 6

Join Polylines

john_daues
Advocate
Advocate

I have a dwg which was created from a dxf file. The dxf was created by exporting an svg file (in Inkscape).

I want to make the contents of the dwg file all one thing. It is currently 5 polylines.

If I do a UNION and select all, then I get this message:
Select objects: Specify opposite corner: 5 found
At least 2 solids, surfaces, or coplanar regions must be selected.

If I do a UNION and select all, then I get this message:
Select source object or multiple objects to join at once:: Specify opposite corner: 5 found
Select objects to join:
0 objects joined, 5 objects discarded from the operation.

What do I need to do?

0 Likes
Accepted solutions (3)
2,944 Views
5 Replies
Replies (5)
Message 2 of 6

Kent1Cooper
Consultant
Consultant

You want JOIN, not UNION [read about the differences in Help].  But even that doesn't Join all of them, because some ends do not meet:

Kent1Cooper_0-1608759948038.png

So you'll need to clean those up before they can be JOINed.  [And when they are, since some of them are Splines, not Polylines, the result will be a Spline.]

 

Kent Cooper, AIA
0 Likes
Message 3 of 6

Kent1Cooper
Consultant
Consultant
Accepted solution

Also, looking more closely, one Polyline [after Joining some of the originals] doesn't meet any end of other things -- this is the same object:

Kent1Cooper_0-1608760663424.png

So if you "clean up" that location, you'll have a closed Polyline, which you can't Join to the Spline that is everything else [after I cleaned up the not-quite intersection in the image in my first Reply].

Kent Cooper, AIA
0 Likes
Message 4 of 6

john_daues
Advocate
Advocate
Accepted solution

Thanks for your reply. I now have a polyline (I think).

When I select it, it has a huge number of vertices. In Inkscape, one can "simplify" to reduce the number of vertices.

Is there a similar command in Autocad?

 

0 Likes
Message 5 of 6

Michiel.Valcke
Advisor
Advisor
Accepted solution

If you have a full AutoCAD, then you should also have access to AutoCAD MAP 3D software under your licence. In AutoCAD MAP 3D (or CIVIL 3D as well) there is a function called _MAPCLEAN. It will let you select some objects and then perform some cleanup functions on those objects (among which: simplify objects and weed polylines).

There is also a "weed" lisp routine going around. Again if you have full AutoCAD you can load that in with the _APPLOAD command and run the weed command.


0 Likes
Message 6 of 6

john_daues
Advocate
Advocate

Thanks for pointing me to MAPCLEAN

0 Likes