This page © Asbjørn Værnes 2002

autolisp.3utilities.com
Lisp utilities and functions for IntelliCAD and AutoCad

...



Functions page
The idea behind this page is to collect functions with a general applicability in Lisp routines. Functions with dependancies (to other functions) will have those dependancies listed.

Submissions to this page are very welcome. Use the email link below. For more functions, check out STDLIB, an Autolisp programmers library hosted at the University of Graz, Austria.





Entity creation functions:

pline ( lst / n a b flag)

Create a polyline from a list of points





File handling functions:

.

.





Layer handling functions:

layer_locked ( la / na e1)

Is layer locked?





List handling functions:

position ( a lst / b)

Position of an item in a list

upcase_list (inlist / entry outlist)

Change all items in a list to uppercase

lowcase_list (inlist / entry outlist)

Change all items in a list to lowercase

titlecase_list (inlist / entry outlist)

Change all items in a list to title case

remove (what from)

Remove item from list

rotate_left (rlist / temp)

Put first element at list end

rotate_right (rlist / temp)

Put last element at list begin.





Point handling functions:

maxmin_pnt ( lst / x n a b c d)

Finds the max and min of a list of points

rotate_pnt ( lst / x n a b c d)

Rotate point through a base point

viewpnts ( / a b c d x)

Find coordinates of the current view





Table handling functions:

.

.





String Handling functions:

remove_suf ( str / )

Strips the suffix off a filename

fnextract (path)

File name from complete path







Home