Commands and functions > Modify > Optimize objects
  
Optimize objects
Ribbon:
Tab ATHENA > Group Modify > Optimize objects
Menu:
ATHENA Modify > Optimize objects
Toolbar:
ATH Modify and ATHENA Modify
Command input:
ath_ovk
With this function you can optimize and clean up objects (lines, polylines and arcs).
Dialog box Optimize objects
db_ath_ovk
You define the conditions for the optimization in this dialog box.
Dialog box section Object comparison settings
In the input field Numeric fuzz enter the maximum separation of the line end points. Objects with end points located far apart are not optimized.
With the tick boxes Ignore layer, Ignore line type, Ignore color, Ignore lineweight and Ignore plot style you can control when objects are optimized and when not. If the corresponding tick box is active, the objects are optimized. The properties of the object first selected are adopted.
Dialog box section Optimization
With the tick box Polylines - optimize segments active, you delete segments with a length of 0 from polylines or combine polyline segments located in line.
With the tick box Overlap - Combine colinear objects active, you combine objects which are superimposed or whose parts overlap.
With the tick box End to end you combine objects which touch and are in alignment.
You can delete duplicates with all three options. When ATHENA finds duplicates, the query appears of whether you wish to delete or retain them.
With OK you terminate the dialog box and can select the objects to be optimized. The settings in the dialog box are saved for the duration of the drawing session. With Cancel, the settings are discarded.
Input request 
Select objects:
Use the mouse to choose the objects you wish to optimize. Press the enter key to confirm the object selection and to terminate the command.
Note 
When you delete duplicates (superimposed objects of the same length) with this function, the last object selected is always retained.
If objects have different properties (e.g. layers) and you have ignored these properties, the properties of the last object selected are always accepted.