Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: Anonymous


@Anonymous wrote:

.... There has to be a way to merge these segments into a continous line, or atleast reduce them to a manageable number, without changing the original shape in the least. I do not want to smoothe the shape or reduce the vertices, simply want to merge all the segments into one coherent line.

....


I think you're out of luck there.  Polylines are the merging of multiple segments into one coherent [that's-why-it's-called-a-Poly-] line.  [Would your equipment work better if you Explode them into all the separate Lines/Arcs?]  You can't make it take less memory [if that's the actual issue] without reducing the number of vertices, which [except in the following situation] will necessarily change the original shape.

 

The only thing that might help is if some of those segments are collinear, and the intermediate vertices along the straight part(s) can be eliminated.  PLDiet.lsp [link in Post 2] will do that, if you give it zero for the maximum change in direction to straighten, so that it won't straighten any actual bends, and will therefore leave the original shape unchanged.  You can give it anything you want for the maximum distance between vertices to straighten, because it ignores that limitation in eliminating vertices between truly collinear segments.

Kent Cooper, AIA