Polyline Outline

Function Syntax PolyOutline / mPolyOutline
Current Version 1.1
Download PolyOutlineV1-1.lsp
View HTML Version PolyOutlineV1-1.html

Program Description

This program will create one or more LWPolylines along the boundary of an LWPolyline with varying or constant width.

The core engine of the program consists of a function taking a single LWPolyline entity argument, and returning a list of resultant LWPolyline entities which describe the boundary of the supplied LWPolyline. I have included two calling functions: ' PolyOutline' for single selection, and 'mPolyOutline' allowing multiple selection of Polylines. These example commands will prompt the user for a selection of one or more LWPolylines and furthermore whether the selected objects should be deleted following creation of the boundary LWPolylines.

The resultant LWPolyline entities created by the function will inherit all properties (such as: layer, linetype, lineweight etc.) of each of the original selected objects.

The program is currently restricted to LWPolylines without arc segments or self-intersection.

Example of Usage

PolyOutline.gif

Instructions for Running

Please refer to How to Run an AutoLISP Program.

textsize

increase · reset · decrease

Designed & Created by Lee Mac © 2010