Beruflich Dokumente
Kultur Dokumente
Synopsis of Functions
(defun sym argument-1ist expr ...)
Error Handling
(*error* string)
(alert string)
(findfile filename)
(getkword [prompt])
(getint [prompt])
Similar to getangle, but takes into account the current value of the
ANGBASE system variable.
Prompts for user input of a keyword.
Prompts for user input of an integer.
Conversion
Display Control
User Input
(initget [bits] [string])
(getcorner pt [prompt])
Geometric Utilities
(getpoint [pt][prompt])
(getstring [cr][prompt])
(getvar varname)
(getreal [prompt])
(menucmd string)
(entdel ename)
(entnext [ename])
(entlast)
(handent handle)
Low-level Graphics
(entsel [prompt])
(grclear)
(nentsel [prompt])
(entupd ename)
(regapp application)
(xdsize list)
Selection Sets
(xdroom ename)
Symbol Tables
Entity Handling
(entmod elist)
(entmake [elist])
(~ number)
(1+ number)
(1- number)
(abs number)
(atan num1 [num2])
(cos angle)
(exp number)
(expt base power)
(fix number)
(float number)
(gcd num1
num2)
(log number)
(boundp atom)
(not item)
(null item)
(numberp item)
(quote expr ...)
(set sym expr)
Evaluates to constant p.
Divides two numbers and returns the
remainder.
Returns the sine of an angle as a real
value.
Returns the square root of a number
as a real value.
Text Strings
(read string)
(read-char [file-desc])
(read-line [file-desc])
(atom item)
Symbol Handling
Page 3
Conversion
(ascii string)
(atof string)
(atoi string)
(chr integer)
(itoa int)
List Manipulation
Returns the conversion of the first
character of a string into its ASCII
character code.
Returns the conversion of a string into
a real value.
Returns the conversion of a string into
an integer.
Returns the conversion of an integer
representing an ASCII character code
into a single character string.
Returns the conversion of an integer
into a string.
Equality/Conditional
(= atom atom . .)
(/= atom atom . .
(< atom atom ...)
(<= atom atom)
(> atom atom . .
(>= atom atom)
(and expr ...)
(append expr)
(assoc item alist)
(car list)
(cdr list)
(listp item)
(nth n
(reverse list)
list)
File Handling
(close file-desc)
Closes a file.
Loads a file of AutoLISP expressions.
Opens a file for access by the
AutoLISP I/O functions.
Display
(terpri)
(vports)
Function Handling
(apply function list)
(eval expr)
(exit)
each
expression
Memory Management
(alloc number)
(expand number)
(gc)
(mem)
Miscellaneous
(getenv variable-name)
(ver)
Page 5
(unload_dialog dcl_id)
(done_dialog [status])
(term_dialog)
(add_list item)
(end_list)
Creating Images
(dimx_tile key) (dimy_tile key)
(start_image key)
(vector_1mage x1 y1 x2 y2 colour)
(fill_image x1 y1 x2 y2 colour)
(slide_image x1 y1 x2 y2 slidename)
(end_image)
Application-specific Data
(client_data_tile key clientdata)
Page 6