Weed Polylines
Concept Procedure Quick Reference
 
 
 

To weed or add vertices to a 3D polyline

  1. Click Tools tabMap Edit panelClean Up. At the Command prompt, enter mapclean.
  2. On the Select Objects page, select the 3D polylines from which to remove extra vertices or add vertices. Click Next.
  3. On the Select Actions page, in the Cleanup Actions list, click Weed Polylines. Click Add >.
    Note Run Weed Polylines by itself (without other cleanup actions). If you run it with other actions, Weed Polylines runs only once, regardless of how many times it is listed in the Selected Actions list, and it always runs before other actions, regardless of its position in the list.
  4. In the Select Actions list, click Weed Polylines to display the Cleanup Parameters for this action.
  5. Under Weeding Factors, enter the weeding distance in the Distance box, or click Pick and use your pointing device to specify distance by selecting two locations in the drawing.
  6. For Angle, enter the deflection angle, or click Pick to specify the angle by selecting a starting point, a vertex, and an ending point.
    • A point on a 3D polyline is weeded by calculating its location in relation to the vertices before and after it. If the length between these three points is less than the weeding Distance value, and the deflection angle is less than the weeding Angle value, then the middle point is weeded out.
    • A larger distance and deflection angle weeds a greater number of points.
    • The weeding distance must be less than the supplementing distance.
    • When using Pick to specify measurements, measurements are displayed dynamically using a tooltip. The format and precision of the measurements are determined by the UNITS command.
  7. Under Supplementing Factors, enter the supplementing Distance, or click Pick to specify distance in the drawing.

    The supplementing distance is the maximum distance between vertices. If the distance between vertices on a contour is greater than the supplementing factor, then points are added along the contour at equal intervals that are less than or equal to the supplementing distance. The smaller the distance, the greater the number of supplemented points.

  8. For Bulge, enter the bulge factor value, or click Pick to specify it in the drawing.

    The bulge factor adds vertices to a polyline curve, creating an approximation of the curve using straight line segments. The bulge value is a ratio of the distance from the arc to the chord divided by half the length of the chord.

  9. Continue specifying Drawing Cleanup settings. Click Finish.

When the operation is complete, the total number of original vertices, the total number of vertices removed, and the number of new vertices is reported on the command line.