Académique Documents
Professionnel Documents
Culture Documents
Table of Contents
Function-Handling Functions
Conditional Functions
Looping Functions
Arithmetic Functions
GETxxx Functions
Printing Functions
String Functions
Functions
Symbol-Handling Functions
Function-Handling Functions
LOAD 2-6 (load FILENAME [ONFAILURE])
Causes AutoLISP to read the program file specified by string
argument FILENAME, check for syntax errors, and evaluate
the expressions in the file; if successful, returns the value of
the final expression within the file; if not, returns string in
ONFAILURE (if included).
DEFUN 2-18 (defun SYMBOL ARGUMENT-LIST
EXPRESSION...)
Defines a function named SYMBOL, with any arguments
defined in ARGUMENT-LIST, containing some number of
expressions; returns the value of the last expression
evaluated.
SETQ 1-12 (setq SYMBOL1 VALUE1 [SYMBOL2 VALUE2] ...)
Assigns VALUE1 to SYMBOL1, VALUE2 to SYMBOL2, etc.;
returns the last value assigned.
QUOTE 2-10 (quote EXPRESSION)
Returns an expression literally, without evaluating it.
Top
Top
Top
Top
Description
Value must be supplied.
Response cannot be zero.
Response cannot be negative.
Limits are ignored for point picks even if
LIMCHECK is On.
Do not use.
Use dashed lines for rubberband line or box
Ignores Z coordinate of 3D input; returns
2D distance
Allows arbitrary input as if it is a keyword
(other control bits honored first); takes
precedence over bit 0; if mode 129 (128 +
1) is set and user presses Enter, a null
Top
string is returned.
GETKWORD 4-8 (getkword [PROMPT])
Pauses for user input of a key word specified in previous call
to INITGET; returns that key word; displays PROMPT string, if
included.
GETANGLE 5-6 (getangle [PT] [PROMPT])
Pauses for user input of an angle, and returns that angle in
radians; measures angles with the zero-radian direction set
by the ANGBASE system variable, with angles increasing in
the counterclockwise direction.
GETORIENT 5-8 (getorient [PT] [PROMPT])
Pauses for user input of an angle, and returns that angle in
radians; the angle value returned is unaffected by the
settings of ANGBASE and ANGDIR.
GETDIST 5-10 (getdist [PT] [PROMPT])
Pauses for user input of a distance. The user can specify the
distance by entering a number, or by selecting two points (or
just the second point if the PT argument is included).
Distances and Angles
ANGLE 5-4 (angle PT1 PT2)
Returns the angle in radians of a line defined by endpoints
PT1 and PT2; the line is measured from the X axis of the
current construction plane.
Top
Top
Top
Top
Top
Top
Top
Top
Top
Top
15-16
Top
Top
Top
Meaning
Enable tile
Disable tile
Set focus to tile
Select edit box contents
Top
4
Flip image highlighting on and off
SET_TILE 18-8 (set_tile KEY VALUE)
Sets the value of the tile specified by KEY to the string
specified by VALUE.
Handling List Boxes and Pop-Up Lists
ADD_LIST 18-18 (add_list string)
Adds or modifies a string in the currently active list box.
Top
Top
http://www.austincc.edu/autocad/fctnlist.html
http://paulogilsoto.blogspot.com/2009/10/links-to-lisp-routines.html