I have a few drawings. My task is to connect all the boundary lines and create a single polyline for highlighting it. I have shown an sample of the drawing below. What will be the fastest way to create boundary and highlight it? Help me out. Input will be a .cgm file which has uniform thickness for the entire illustration.
Thanks in advance.
See this PDF describing steps that can be recorded in an Action, and thereafter applied with one click.
To avoid jaggedness due to path join miters, set the Strokes contained in the Graphic Styles to rounded endcaps and joins.
For jaggedness resulting from too many tiny segments in the incoming CAD export, try including a Simplify operation early in the Action. The effectiveness of this depends on the files you are working with, but I've often found that a good compromise Simplify setting can be found that works well for most drawings received from a given source, greatly reducing the number of anchorPoints without significantly injuring the fidelity of the drawing (sometimes improving it).
Understand: I don't really consider the treatment depicted above finished. By convention, thick strokes should occur on all object edges which 'have air behind them', not just the outer outline of the object. So I usually:
1. Apply my ObjectThin style to all the line work early in the Action.
2. Run the Action.
3. Use the white pointer to select interior edges with air behind them and apply my ObjectThick style.