Centerline

Function Syntax CLine
Current Version 1.2
Download CenterlineV1-2.lsp
View HTML Version CenterlineV1-2.html
Donate

Program Description

This relatively simple program enables the user to quickly construct a pair of center-lines for an Arc, Circle, Ellipse, or Elliptical Arc object.

Upon issuing the command syntax CLine at the AutoCAD command-line, the user is first prompted to select either an Arc, Circle, Ellipse or Elliptical Arc for which to construct a pair of center-lines. Following a valid selection, the user is then prompted to indicate the length and direction of the center-lines relative to the center of the selected object.

The program will then proceed to construct two orthogonal lines, extending from the center of the selected object to the point specified by the user (in all four directions), and rotated as required. The center-lines will be created on the current layer, with the current settings for colour, linetype & lineweight at the time of running the program.

The program will furthermore perform successfully with circular & elliptical objects constructed in any UCS construction plane.

Demonstration

Centreline.gif

Instructions for Running

Please refer to How to Run an AutoLISP Program.

textsize

increase · reset · decrease

Designed & Created by Lee Mac © 2010