Image Clip Using Lightweight Polyline (Tip #2151) from Pedro Ferreira is a very handy tool for manipulating images inside AutoCAD. Insert an image into a drawing as an external reference, and then draw a polyline over the top of it. Load the LISP code for this tip and type XIC to activate the command function. First select the image object, then the polyline, and the rest is automatic. Ferreira's functions grab the points from the polyline and clip the image reference in the drawing. The code is very well written and exploits the object handling features of Visual LISP. A tip of the hat from Harry on this one -- nice work! |