AutoLisp

These are functions created directly in AutoLisp / VisualLisp, intended to extend the capabilities of AutoLisp to allow for less complex programming. Basically creating a library of standard functions.

General Purpose

These functions are to be used for general purpose augmentation. Some are derived from the Common Lisp HyperSpec, an attempt at similar naming conventions are used where possible.

Lists

Extract portions

  • ButLast - Gets the list excluding the last element.
  • ButLastN - Gets the list excluding the last N elements.
  • FirstN - Gets the 1st N items from a list.
  • LastN - Gets the last N items from a list.
  • make-list - Generate a list of a specified length.
  • make-list-from - Generate a list of a specified length from a sample list.
  • NthCDR - A function to obtain the nth residual of a list.
  • Subst-If - A function substituting items in a list if a predicate function returns non nil for such items.
  • Subst-If-Not - A function substituting items in a list if a predicate function returns nil for such items.

Manipulate

  • Replace - A function to replace a portion of one list with a portion from another.

Strings

Extract portions

CAD Specific

These functions are to be used wherever augmentations are needed to interoperate with the base CAD software.