-OPTIMIZE command

Corrects inaccurately-drawn entities.

Description

Corrects inaccuracies in drawings, such as removing small gaps between lines and straightening lines that are nearly vertical or horizontal; works at the command line.

Note: This command operates only on lines; it does not function with other entities, such as polylines and other open entities.
  1. Line drawn at a slight angle.
  2. Line optimized by being made horizontal.

Options within the command

change reference Angles
Specify the slopes of angles to straighten out:
Horizontal lines
Straighten out nearly-horizontal lines (near 0 degrees).
Vertical lines
Straighten out nearly-vertical lines (near 90 degrees).
45-Degree lines
Fix lines nearly at 45-degrees.
All
Fix all lines.
change Tolerances
Specify the maximum values for angles, distance, rounding and gaps.
Specify angle tolerance
Sets the angle tolerance in degrees, with respect to the World Coordinate System (WCS).
Near horizontal, vertical or diagonal lines within this angle tolerance will be optimized.
Specify distance tolerance
Sets the distance tolerance.
Parallel Lines within this distance will be merged.
Specify rounding tolerance
Sets the rounding tolerance.
The calculated coordinates of the start- and endpoints will be rounded to the closest multiple of the rounding tolerance.
Specify gap tolerance
Sets the gap tolerance.
Gaps between collinear lines within the gap tolerance will be filled.
Note: Distance units are those specified by the INSUNITS variable.
change closing Gap settings
Specify whether gaps should be closed or not.